Merge pull request #6111 from benlye/benlye-patch-echo_command

Fix type conversion issue with echo_command
master
Scott Lahteine 8 years ago committed by GitHub
commit 34d1c41b5f

@ -796,7 +796,7 @@ extern "C" {
extern void digipot_i2c_init(); extern void digipot_i2c_init();
#endif #endif
inline void echo_command(char * const cmd) { inline void echo_command(const char* cmd) {
SERIAL_ECHO_START; SERIAL_ECHO_START;
SERIAL_ECHOPAIR(MSG_ENQUEUEING, cmd); SERIAL_ECHOPAIR(MSG_ENQUEUEING, cmd);
SERIAL_CHAR('"'); SERIAL_CHAR('"');

Loading…
Cancel
Save