DRAM_ATTR for global variable used in ISR

This commit is contained in:
cyberman54 2022-01-27 18:04:06 +01:00
parent 66c321d0e9
commit ad027f7e80

View File

@ -19,7 +19,7 @@ static const char TAG[] = __FILE__;
// G = GPS / R = RTC / L = LORA / * = no sync / ? = never synced
const char timeSetSymbols[] = {'G', 'R', 'L', '*', '?'};
bool volatile TimePulseTick = false;
DRAM_ATTR bool volatile TimePulseTick = false;
timesource_t timeSource = _unsynced;
TaskHandle_t ClockTask = NULL;
hw_timer_t *ppsIRQ = NULL;