|
@@ -107,7 +107,7 @@
|
107
|
107
|
SERIAL_EOL();
|
108
|
108
|
persistentStore.access_finish();
|
109
|
109
|
#else
|
110
|
|
- SERIAL_ECHOLN("NO EEPROM");
|
|
110
|
+ SERIAL_ECHOLNPGM("NO EEPROM");
|
111
|
111
|
#endif
|
112
|
112
|
}
|
113
|
113
|
else {
|
|
@@ -125,13 +125,13 @@
|
125
|
125
|
SERIAL_EOL();
|
126
|
126
|
persistentStore.access_finish();
|
127
|
127
|
#else
|
128
|
|
- SERIAL_ECHOLN("NO EEPROM");
|
|
128
|
+ SERIAL_ECHOLNPGM("NO EEPROM");
|
129
|
129
|
#endif
|
130
|
130
|
}
|
131
|
131
|
SERIAL_EOL();
|
132
|
132
|
}
|
133
|
133
|
} break;
|
134
|
|
- #endif
|
|
134
|
+ #endif
|
135
|
135
|
|
136
|
136
|
case 4: { // D4 Read / Write PIN
|
137
|
137
|
// const uint8_t pin = parser.byteval('P');
|
|
@@ -173,8 +173,8 @@
|
173
|
173
|
} break;
|
174
|
174
|
|
175
|
175
|
case 100: { // D100 Disable heaters and attempt a hard hang (Watchdog Test)
|
176
|
|
- SERIAL_ECHOLN("Disabling heaters and attempting to trigger Watchdog");
|
177
|
|
- SERIAL_ECHOLN("(USE_WATCHDOG " TERN(USE_WATCHDOG, "ENABLED", "DISABLED") ")");
|
|
176
|
+ SERIAL_ECHOLNPGM("Disabling heaters and attempting to trigger Watchdog");
|
|
177
|
+ SERIAL_ECHOLNPGM("(USE_WATCHDOG " TERN(USE_WATCHDOG, "ENABLED", "DISABLED") ")");
|
178
|
178
|
thermalManager.disable_all_heaters();
|
179
|
179
|
delay(1000); // Allow time to print
|
180
|
180
|
DISABLE_ISRS();
|
|
@@ -183,7 +183,7 @@
|
183
|
183
|
// watchdog does not work.
|
184
|
184
|
DELAY_US(10000000);
|
185
|
185
|
ENABLE_ISRS();
|
186
|
|
- SERIAL_ECHOLN("FAILURE: Watchdog did not trigger board reset.");
|
|
186
|
+ SERIAL_ECHOLNPGM("FAILURE: Watchdog did not trigger board reset.");
|
187
|
187
|
}
|
188
|
188
|
}
|
189
|
189
|
}
|