From 79ba983782ab30fc9a2602efd43289bda7e9dfb2 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 13 Aug 2016 21:05:44 -0700 Subject: [PATCH] Allow reply() to use const string with no warning --- Marlin/twibus.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/twibus.h b/Marlin/twibus.h index 89257d3a1..32928a8e1 100644 --- a/Marlin/twibus.h +++ b/Marlin/twibus.h @@ -183,6 +183,7 @@ class TWIBus { * @details Send the buffer and clear it. */ void reply(char str[]=NULL); + inline void reply(const char str[]) { this->reply((char*)str); } #endif