power output calculation
[heater.git] / firmware / logging.c
index 82c9877..b59f697 100644 (file)
@@ -33,6 +33,9 @@ void log_init()
                r_count++;
                eeprom_write_byte(&reboot_count,
                        (r_count << 4) | (MCUSR & 0xF));
+
+               MCUSR = 0;
+
                log_init_common();
        }
 }