Browse Source

Allow reply() to use const string with no warning

pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
79ba983782
  1. 1
      Marlin/twibus.h

1
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

Loading…
Cancel
Save