Fix CONFIG_ECHO_START bug

In reference to #9633
2.0.x
Scott Lahteine 7 years ago
parent 61688233c7
commit 0557ab5780

@ -1861,7 +1861,11 @@ void MarlinSettings::reset(
#if DISABLED(DISABLE_M503) #if DISABLED(DISABLE_M503)
#if ADD_PORT_ARG
#define CONFIG_ECHO_START do{ if (!forReplay) SERIAL_ECHO_START_P(port); }while(0) #define CONFIG_ECHO_START do{ if (!forReplay) SERIAL_ECHO_START_P(port); }while(0)
#else
#define CONFIG_ECHO_START do{ if (!forReplay) SERIAL_ECHO_START(); }while(0)
#endif
/** /**
* M503 - Report current settings in RAM * M503 - Report current settings in RAM

Loading…
Cancel
Save