project progmem finished: total change with ultipanel: 2456 byte free ram initial. now: 4374 ram.

This commit is contained in:
Bernhard Kubicek
2011-11-09 20:27:15 +01:00
parent 7b70caab7c
commit ab154d5592
10 changed files with 294 additions and 187 deletions

View File

@@ -41,10 +41,11 @@ ISR(WDT_vect)
{
#ifdef RESET_MANUAL
LCD_MESSAGE("Please Reset!");
SERIAL_ERRORLN("Something is wrong, please turn off the printer.");
LCD_MESSAGEPGM("Please Reset!");
SERIAL_ERROR_START;
SERIAL_ERRORLNPGM("Something is wrong, please turn off the printer.");
#else
LCD_MESSAGE("Timeout, resetting!");
LCD_MESSAGEPGM("Timeout, resetting!");
#endif
//disable watchdog, it will survife reboot.
WDTCSR |= (1<<WDCE) | (1<<WDE);