|
|
@ -107,7 +107,7 @@ |
|
|
|
SERIAL_EOL(); |
|
|
|
persistentStore.access_finish(); |
|
|
|
#else |
|
|
|
SERIAL_ECHOLN("NO EEPROM"); |
|
|
|
SERIAL_ECHOLNPGM("NO EEPROM"); |
|
|
|
#endif |
|
|
|
} |
|
|
|
else { |
|
|
@ -125,7 +125,7 @@ |
|
|
|
SERIAL_EOL(); |
|
|
|
persistentStore.access_finish(); |
|
|
|
#else |
|
|
|
SERIAL_ECHOLN("NO EEPROM"); |
|
|
|
SERIAL_ECHOLNPGM("NO EEPROM"); |
|
|
|
#endif |
|
|
|
} |
|
|
|
SERIAL_EOL(); |
|
|
@ -173,8 +173,8 @@ |
|
|
|
} break; |
|
|
|
|
|
|
|
case 100: { // D100 Disable heaters and attempt a hard hang (Watchdog Test)
|
|
|
|
SERIAL_ECHOLN("Disabling heaters and attempting to trigger Watchdog"); |
|
|
|
SERIAL_ECHOLN("(USE_WATCHDOG " TERN(USE_WATCHDOG, "ENABLED", "DISABLED") ")"); |
|
|
|
SERIAL_ECHOLNPGM("Disabling heaters and attempting to trigger Watchdog"); |
|
|
|
SERIAL_ECHOLNPGM("(USE_WATCHDOG " TERN(USE_WATCHDOG, "ENABLED", "DISABLED") ")"); |
|
|
|
thermalManager.disable_all_heaters(); |
|
|
|
delay(1000); // Allow time to print
|
|
|
|
DISABLE_ISRS(); |
|
|
@ -183,7 +183,7 @@ |
|
|
|
// watchdog does not work.
|
|
|
|
DELAY_US(10000000); |
|
|
|
ENABLE_ISRS(); |
|
|
|
SERIAL_ECHOLN("FAILURE: Watchdog did not trigger board reset."); |
|
|
|
SERIAL_ECHOLNPGM("FAILURE: Watchdog did not trigger board reset."); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|