reset.h: RTC_runmode code sanitization
This commit is contained in:
		
							parent
							
								
									79b96a75c7
								
							
						
					
					
						commit
						9060ba2f4c
					
				@ -3,6 +3,7 @@
 | 
			
		||||
 | 
			
		||||
#include "globals.h"
 | 
			
		||||
#include "hash.h"
 | 
			
		||||
#include "reset.h"
 | 
			
		||||
 | 
			
		||||
#include <Update.h>
 | 
			
		||||
#include <WiFi.h>
 | 
			
		||||
 | 
			
		||||
@ -11,6 +11,7 @@
 | 
			
		||||
#include "sds011read.h"
 | 
			
		||||
#include "sdcard.h"
 | 
			
		||||
#include "macsniff.h"
 | 
			
		||||
#include "reset.h"
 | 
			
		||||
 | 
			
		||||
extern Ticker cyclicTimer;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user