Thomas Kolb
98d0c08ec3
It sleeps, but never wakes up again. Also it consumes a lot of current which suspended?!
10 lines
146 B
C
10 lines
146 B
C
#ifndef DEEPSLEEP_H
|
|
#define DEEPSLEEP_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void init_rtc(void);
|
|
void deepsleep(uint32_t duration_secs);
|
|
|
|
#endif // DEEPSLEEP_H
|