Browse Source

Fix CONFIG_ECHO_START bug

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

6
Marlin/src/module/configuration_store.cpp

@ -1861,7 +1861,11 @@ void MarlinSettings::reset(
#if DISABLED(DISABLE_M503)
#define CONFIG_ECHO_START do{ if (!forReplay) SERIAL_ECHO_START_P(port); }while(0)
#if ADD_PORT_ARG
#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

Loading…
Cancel
Save