sanitize ISR IRAM_ATTR and global vars

This commit is contained in:
cyberman54 committed 2022-02-07 15:38:15 +01:00
1 parent c41d44bd7d
commit 69da95cd66
6 files changed
+31 -29

No files matched your search

+1
View File
@@ -5,6 +5,7 @@
#include "cyclic.h"
#include "qrcode.h"
#include "power.h"
#include "timekeeper.h"
#if (HAS_DISPLAY) == 1
#include <OneBitDisplay.h>
+1 -1
View File
@@ -24,7 +24,7 @@
void irqHandler(void *pvParameters);
void mask_user_IRQ();
void unmask_user_IRQ();
void doIRQ(int irq);
void IRAM_ATTR doIRQ(int irq);
extern TaskHandle_t irqHandlerTask;
+2 -1
View File
@@ -20,8 +20,9 @@ extern const char timeSetSymbols[];
extern Ticker timesyncer;
extern timesource_t timeSource;
extern TaskHandle_t ClockTask;
extern bool volatile TimePulseTick; // 1sec pps flag set by GPS or RTC
extern DRAM_ATTR bool TimePulseTick; // 1sec pps flag set by GPS or RTC
extern hw_timer_t *ppsIRQ;
extern portMUX_TYPE mux;
void IRAM_ATTR CLOCKIRQ(void);
void clock_init(void);