diff --git a/avr/devices/all/hw_m8515.asm b/avr/devices/all/hw_m8515.asm index 8df7e0e..040bc8e 100644 --- a/avr/devices/all/hw_m8515.asm +++ b/avr/devices/all/hw_m8515.asm @@ -68,20 +68,27 @@ systemSetSpeed: systemSleep: ; only modify SE, SM2, SM1 and SM0 cli + M_IO_READ r16, MCUCR cbr r16, (1<