Fix type conversion issue with echo_command
With the the current definition of echo_command I cannot compile RCBugFix (Arduino IDE 1.8.1) with the error "invalid conversion from 'const char*' to 'char*'". This change resolves that.
This commit is contained in:
parent
eab7854a73
commit
6a601aca35
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ extern "C" {
|
|||
extern void digipot_i2c_init();
|
||||
#endif
|
||||
|
||||
inline void echo_command(char * const cmd) {
|
||||
inline void echo_command(const char* cmd) {
|
||||
SERIAL_ECHO_START;
|
||||
SERIAL_ECHOPAIR(MSG_ENQUEUEING, cmd);
|
||||
SERIAL_CHAR('"');
|
||||
|
|
Reference in a new issue