Add backward compatibility with v4.x

This commit is contained in:
Manuel Bleichenbacher 2022-09-21 20:29:52 +02:00
parent e7d9caefe1
commit bbdb44cdd6

View File

@ -15,7 +15,9 @@
#include "esp_event.h"
#include "esp_log.h"
#include "esp_system.h"
#if ESP_IDF_VERSION_MAJOR >= 5
#include "esp_mac.h"
#endif
#include "freertos/FreeRTOS.h"
#include "hal/hal_esp32.h"
#include "lmic/lmic.h"