Browse Source

Fix CONFIG_ECHO_START bug

In reference to #9633
pull/1/head
Scott Lahteine 7 years ago
parent
commit
0557ab5780
  1. 4
      Marlin/src/module/configuration_store.cpp

4
Marlin/src/module/configuration_store.cpp

@ -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