fix for RTC syncing (experimental)

This commit is contained in:
cyberman54 committed 2022-03-05 18:49:50 +01:00
1 parent 01989320e0
commit f74f103e80
3 files changed
+22 -10

No files matched your search

+5
View File
@@ -24,7 +24,12 @@ extern Ticker timesyncer;
extern timesource_t timeSource;
extern TaskHandle_t ClockTask;
extern DRAM_ATTR bool TimePulseTick; // 1sec pps flag set by GPS or RTC
#ifdef GPS_INT
extern DRAM_ATTR unsigned long lastPPS;
#endif
#ifdef RTC_INT
extern DRAM_ATTR unsigned long lastRTCpulse;
#endif
extern hw_timer_t *ppsIRQ;
void setTimeSyncIRQ(void);