SyncToPPS interrupt IRAM_ATTR set

This commit is contained in:
Verkehrsrot committed 2019-04-06 12:48:17 +02:00
1 parent bfc45dac05
commit 83252fc62c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ time_t now(uint32_t &sysTimeMicros); // return the current time as seconds and
#endif
#ifdef usePPS
void SyncToPPS();
void IRAM_ATTR SyncToPPS();
#endif
void setTime(time_t t);
void setTime(int hr, int min, int sec, int day, int month, int yr);
+1 -1
View File
@@ -260,7 +260,7 @@ time_t sysUnsyncedTime = 0; // the time sysTime unadjusted by sync
#endif
#ifdef usePPS
void SyncToPPS() {
void IRAM_ATTR SyncToPPS() {
sysTime++;
prevMicros = micros();
}