- error message
This commit is contained in:
parent
6f962c0d88
commit
618c75b72b
@ -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)
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user