Fix CONFIG_ECHO_START bug

In reference to #9633
This commit is contained in:
Scott Lahteine 2018-02-25 05:34:26 -06:00
parent 61688233c7
commit 0557ab5780

View File

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