diff options
Diffstat (limited to 'src/arch/arduino-nano/arch.cc')
-rw-r--r-- | src/arch/arduino-nano/arch.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/arch/arduino-nano/arch.cc b/src/arch/arduino-nano/arch.cc index 28fe34b..f35cb1d 100644 --- a/src/arch/arduino-nano/arch.cc +++ b/src/arch/arduino-nano/arch.cc @@ -24,10 +24,14 @@ void Arch::setup(void) sei(); } +#ifdef WITH_WAKEUP +void wakeup(); +#endif + #if defined(WITH_LOOP) || defined(TIMER_S) #include "driver/uptime.h" -extern void loop(); +void loop(); #endif @@ -41,6 +45,9 @@ void Arch::idle_loop(void) #ifdef WITH_LOOP loop(); #endif +#ifdef WITH_WAKEUP + wakeup(); +#endif #ifdef TIMER_S uptime.tick_s(); #endif |