- error message

This commit is contained in:
r4 2022-04-19 19:45:13 +02:00
parent 6f962c0d88
commit 618c75b72b
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
#include "sys.hh" #include "sys.hh"
void (*full_reset)() = nullptr;
static volatile bool wdt_int_sleep_mode = false; static volatile bool wdt_int_sleep_mode = false;
ISR (WDT_vect) { ISR (WDT_vect) {
if (wdt_int_sleep_mode) if (wdt_int_sleep_mode)

View File

@ -8,7 +8,7 @@
#include <avr/wdt.h> #include <avr/wdt.h>
#include <avr/sleep.h> #include <avr/sleep.h>
static void (*full_reset)() = nullptr; extern void (*full_reset)();
void low_power_sleep_minutes(unsigned long t); void low_power_sleep_minutes(unsigned long t);