add espMillis() to replace esp_timer_get_time() / 1000

This commit is contained in:
technyon
2024-10-20 14:25:04 +02:00
parent 1d079a9aad
commit 9ca377870f
15 changed files with 62 additions and 48 deletions

7
src/EspMillis.h Normal file
View File

@@ -0,0 +1,7 @@
#pragma once
#include <cstdint>
inline int64_t espMillis()
{
return esp_timer_get_time() / 1000;
}