0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-17 14:50:58 +00:00

Allow reply() to use const string with no warning

This commit is contained in:
Scott Lahteine 2016-08-13 21:05:44 -07:00 committed by GitHub
parent 27570c08ba
commit 79ba983782

View file

@ -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