ESP32-PaxCounter/include/reset.h

16 lines
319 B
C
Raw Normal View History

#ifndef _RESET_H
#define _RESET_H
#include <driver/rtc_io.h>
#include <rom/rtc.h>
2020-03-29 18:08:52 +02:00
#include "i2c.h"
2020-03-29 18:08:52 +02:00
#include "lorawan.h"
#include "display.h"
#include "power.h"
void do_reset(bool warmstart);
void do_after_reset(void);
void enter_deepsleep(const uint64_t wakeup_sec, const gpio_num_t wakeup_gpio);
#endif // _RESET_H