Add legacy ESP32 compatibility fixes
This commit is contained in:
11
src/esp_timer_compat.c
Normal file
11
src/esp_timer_compat.c
Normal 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
|
||||
Reference in New Issue
Block a user