changed hardware timers to soft timers with task notify

This commit is contained in:
cyberman54 committed 2019-03-03 00:30:57 +01:00
1 parent 1ae444b342
commit b516cbbbce
16 files changed
+51 -51

No files matched your search

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