Patch configuration_store for extra serial port

Fix #9948
This commit is contained in:
Scott Lahteine
2018-03-09 07:42:27 -06:00
parent cc59ac4603
commit 49ca67202f
3 changed files with 24 additions and 20 deletions

View File

@ -1462,7 +1462,11 @@ void MarlinSettings::postprocess() {
const int8_t port/*=-1*/
#endif
) {
if (validate()) return _load(
if (validate(
#if ADD_PORT_ARG
port
#endif
)) return _load(
#if ADD_PORT_ARG
port
#endif
@ -1864,7 +1868,7 @@ void MarlinSettings::reset(
* Unless specifically disabled, M503 is available even without EEPROM
*/
void MarlinSettings::report(const bool forReplay
#if ADD_PORT_ARG
#if NUM_SERIAL > 1
, const int8_t port/*=-1*/
#endif
) {

View File

@ -86,7 +86,7 @@ class MarlinSettings {
#if DISABLED(DISABLE_M503)
static void report(const bool forReplay=false
#if ADD_PORT_ARG
#if NUM_SERIAL > 1
, const int8_t port=-1
#endif
);