changed hardware timers to soft timers with task notify
This commit is contained in:
1 parent
1ae444b342
commit
b516cbbbce
16 files changed
+51
-51
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user