fix for RTC syncing (experimental)
This commit is contained in:
1 parent
01989320e0
commit
f74f103e80
3 files changed
+22
-10
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user