Add backward compatibility with v4.x

This commit is contained in:
Manuel Bleichenbacher 2022-09-21 20:29:52 +02:00
parent c1517d3c82
commit 1b7279518b
1 changed files with 2 additions and 0 deletions

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"