mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Spacing tweak in setup()
This commit is contained in:
parent
c61c0a9aeb
commit
d4270f15a9
@ -12702,10 +12702,10 @@ void setup() {
|
|||||||
|
|
||||||
// Check startup - does nothing if bootloader sets MCUSR to 0
|
// Check startup - does nothing if bootloader sets MCUSR to 0
|
||||||
byte mcu = MCUSR;
|
byte mcu = MCUSR;
|
||||||
if (mcu & 1) SERIAL_ECHOLNPGM(MSG_POWERUP);
|
if (mcu & 1) SERIAL_ECHOLNPGM(MSG_POWERUP);
|
||||||
if (mcu & 2) SERIAL_ECHOLNPGM(MSG_EXTERNAL_RESET);
|
if (mcu & 2) SERIAL_ECHOLNPGM(MSG_EXTERNAL_RESET);
|
||||||
if (mcu & 4) SERIAL_ECHOLNPGM(MSG_BROWNOUT_RESET);
|
if (mcu & 4) SERIAL_ECHOLNPGM(MSG_BROWNOUT_RESET);
|
||||||
if (mcu & 8) SERIAL_ECHOLNPGM(MSG_WATCHDOG_RESET);
|
if (mcu & 8) SERIAL_ECHOLNPGM(MSG_WATCHDOG_RESET);
|
||||||
if (mcu & 32) SERIAL_ECHOLNPGM(MSG_SOFTWARE_RESET);
|
if (mcu & 32) SERIAL_ECHOLNPGM(MSG_SOFTWARE_RESET);
|
||||||
MCUSR = 0;
|
MCUSR = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user