new _millis function definition

This commit is contained in:
Klaus K Wilting 2020-11-02 12:25:10 +01:00
parent 45b0b40db8
commit 0673293744

View File

@ -60,6 +60,9 @@
; \ ; \
} }
// emulate millis to avoid rollovers
#define _millis() esp_timer_get_time() / 1000
enum sendprio_t { prio_low, prio_normal, prio_high }; enum sendprio_t { prio_low, prio_normal, prio_high };
enum timesource_t { _gps, _rtc, _lora, _unsynced }; enum timesource_t { _gps, _rtc, _lora, _unsynced };