Add legacy ESP32 compatibility fixes

This commit is contained in:
2026-03-13 10:42:42 +01:00
parent ada5370693
commit 7c609ea452
6 changed files with 163 additions and 15 deletions

11
src/esp_timer_compat.c Normal file
View File

@@ -0,0 +1,11 @@
#include <ArduinoEsp32Compat.h>
#if defined(ESP32) && EGGDUINO_LEGACY_ARDUINO_ESP32
#include <esp_timer.h>
int esp_timer_is_active(esp_timer_handle_t timer)
{
(void)timer;
return 0;
}
#endif