A single SERIAL_ECHO macro type (#12557)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-11-29 16:58:58 -06:00
1 parent 69d869c3d9
commit c986239837
86 files changed
+1016 -1356

No files matched your search

@@ -41,8 +41,7 @@ bool PersistentStore::write_data(int &pos, const uint8_t *value, size_t size, ui
if (v != eeprom_read_byte(p)) {
eeprom_write_byte(p, v);
if (eeprom_read_byte(p) != v) {
SERIAL_ECHO_START();
SERIAL_ECHOLNPGM(MSG_ERR_EEPROM_WRITE);
SERIAL_ECHO_MSG(MSG_ERR_EEPROM_WRITE);
return true;
}
}