Browse Source

Fix a Serial+EEPROM compile error

Fixes #10278
pull/1/head
Scott Lahteine 6 years ago
parent
commit
4c79dc1093
  1. 8
      Marlin/src/module/configuration_store.cpp

8
Marlin/src/module/configuration_store.cpp

@ -1484,9 +1484,11 @@ void MarlinSettings::postprocess() {
eeprom_error = size_error(eeprom_index - (EEPROM_OFFSET)); eeprom_error = size_error(eeprom_index - (EEPROM_OFFSET));
if (eeprom_error) { if (eeprom_error) {
SERIAL_ECHO_START_P(port); #if ENABLED(EEPROM_CHITCHAT)
SERIAL_ECHOPAIR_P(port, "Index: ", int(eeprom_index - (EEPROM_OFFSET))); SERIAL_ECHO_START_P(port);
SERIAL_ECHOLNPAIR_P(port, " Size: ", datasize()); SERIAL_ECHOPAIR_P(port, "Index: ", int(eeprom_index - (EEPROM_OFFSET)));
SERIAL_ECHOLNPAIR_P(port, " Size: ", datasize());
#endif
} }
else if (working_crc != stored_crc) { else if (working_crc != stored_crc) {
eeprom_error = true; eeprom_error = true;

Loading…
Cancel
Save