Browse Source

Allow reply() to use const string with no warning

Scott Lahteine 8 years ago
parent
commit
79ba983782
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/twibus.h

+ 1
- 0
Marlin/twibus.h View File

@@ -183,6 +183,7 @@ class TWIBus {
183 183
        * @details Send the buffer and clear it.
184 184
        */
185 185
       void reply(char str[]=NULL);
186
+      inline void reply(const char str[]) { this->reply((char*)str); }
186 187
 
187 188
     #endif
188 189
 

Loading…
Cancel
Save