-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Encountered the following error when attempting to compile a sketch using CmdMessenger:
Arduino-CmdMessenger/CmdMessenger.cpp:492:9: error: invalid conversion from 'char' to 'char*' [-fpermissive]
return '\0';
The function is defined to return a pointer as follows;
Arduino-CmdMessenger/CmdMessenger.cpp
Line 484 in 8c3c444
| char* CmdMessenger::readStringArg() |
Since the function is returning a char instead of a pointer, this is causing a compiler error.
Should the correct return value be NULL? ie:
return NULL;
Metadata
Metadata
Assignees
Labels
No labels