Allow reply() to use const string with no warning
This commit is contained in:
parent
27570c08ba
commit
79ba983782
|
@ -183,6 +183,7 @@ class TWIBus {
|
||||||
* @details Send the buffer and clear it.
|
* @details Send the buffer and clear it.
|
||||||
*/
|
*/
|
||||||
void reply(char str[]=NULL);
|
void reply(char str[]=NULL);
|
||||||
|
inline void reply(const char str[]) { this->reply((char*)str); }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue