eliminate usage of millis() in whole code

This commit is contained in:
Klaus K Wilting committed 2020-11-02 12:39:46 +01:00
1 parent 8341a2115e
commit e5d13be42e
9 files changed
+31 -29

No files matched your search

+2
View File
@@ -62,6 +62,8 @@
// emulate millis to avoid rollovers
#define _millis() esp_timer_get_time() / 1000
#define _micros() esp_timer_get_time()
#define _seconds() _millis() / 1000.0
enum sendprio_t { prio_low, prio_normal, prio_high };
enum timesource_t { _gps, _rtc, _lora, _unsynced };