mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-15 12:24:27 +02:00
Add backward compatibility with v4.x
This commit is contained in:
parent
e7d9caefe1
commit
bbdb44cdd6
@ -15,7 +15,9 @@
|
|||||||
#include "esp_event.h"
|
#include "esp_event.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
#if ESP_IDF_VERSION_MAJOR >= 5
|
||||||
#include "esp_mac.h"
|
#include "esp_mac.h"
|
||||||
|
#endif
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "hal/hal_esp32.h"
|
#include "hal/hal_esp32.h"
|
||||||
#include "lmic/lmic.h"
|
#include "lmic/lmic.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user