reset.h: RTC_runmode code sanitization

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

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
#include "globals.h"
#include "hash.h"
#include "reset.h"
#include <Update.h>
#include <WiFi.h>
+1
View File
@@ -11,6 +11,7 @@
#include "sds011read.h"
#include "sdcard.h"
#include "macsniff.h"
#include "reset.h"
extern Ticker cyclicTimer;
-1
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
+2
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