systimer: optimise esp_timer_get_time

This commit is contained in:
morris
2021-04-25 19:38:01 +08:00
parent 3f7b637a15
commit 988c88a6b1
5 changed files with 17 additions and 18 deletions

View File

@@ -23,6 +23,8 @@
#define SYSTIMER_LL_ALARM_OS_TICK_CORE0 (0) // Alarm used for OS tick of CPU core 0
#define SYSTIMER_LL_ALARM_CLOCK (2) // Alarm used for "wallclock" time
#define SYSTIMER_LL_TICKS_PER_US (16) // 16 systimer ticks == 1us
#ifdef __cplusplus
extern "C" {
#endif