reset.h: RTC_runmode code sanitization

This commit is contained in:
cyberman54 2021-03-20 21:31:04 +01:00
parent 79b96a75c7
commit 9060ba2f4c
4 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#include "globals.h"
#include "hash.h"
#include "reset.h"
#include <Update.h>
#include <WiFi.h>

View File

@ -11,6 +11,7 @@
#include "sds011read.h"
#include "sdcard.h"
#include "macsniff.h"
#include "reset.h"
extern Ticker cyclicTimer;

View File

@ -148,6 +148,5 @@ extern SemaphoreHandle_t I2Caccess;
extern TaskHandle_t irqHandlerTask, ClockTask, macProcessTask;
extern TimerHandle_t WifiChanTimer;
extern Timezone myTZ;
extern RTC_NOINIT_ATTR runmode_t RTC_runmode;
#endif

View File

@ -15,4 +15,6 @@ void enter_deepsleep(const uint64_t wakeup_sec = 60,
const gpio_num_t wakeup_gpio = GPIO_NUM_MAX);
unsigned long long uptime(void);
extern RTC_NOINIT_ATTR runmode_t RTC_runmode;
#endif // _RESET_H