|
@@ -12702,10 +12702,10 @@ void setup() {
|
12702
|
12702
|
|
12703
|
12703
|
// Check startup - does nothing if bootloader sets MCUSR to 0
|
12704
|
12704
|
byte mcu = MCUSR;
|
12705
|
|
- if (mcu & 1) SERIAL_ECHOLNPGM(MSG_POWERUP);
|
12706
|
|
- if (mcu & 2) SERIAL_ECHOLNPGM(MSG_EXTERNAL_RESET);
|
12707
|
|
- if (mcu & 4) SERIAL_ECHOLNPGM(MSG_BROWNOUT_RESET);
|
12708
|
|
- if (mcu & 8) SERIAL_ECHOLNPGM(MSG_WATCHDOG_RESET);
|
|
12705
|
+ if (mcu & 1) SERIAL_ECHOLNPGM(MSG_POWERUP);
|
|
12706
|
+ if (mcu & 2) SERIAL_ECHOLNPGM(MSG_EXTERNAL_RESET);
|
|
12707
|
+ if (mcu & 4) SERIAL_ECHOLNPGM(MSG_BROWNOUT_RESET);
|
|
12708
|
+ if (mcu & 8) SERIAL_ECHOLNPGM(MSG_WATCHDOG_RESET);
|
12709
|
12709
|
if (mcu & 32) SERIAL_ECHOLNPGM(MSG_SOFTWARE_RESET);
|
12710
|
12710
|
MCUSR = 0;
|
12711
|
12711
|
|