mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-14 20:14:27 +02:00
fix compilation issues
This commit is contained in:
parent
0a7353c146
commit
c1517d3c82
@ -10,6 +10,9 @@ set(COMPONENT_ADD_INCLUDEDIRS
|
|||||||
set(COMPONENT_REQUIRES
|
set(COMPONENT_REQUIRES
|
||||||
nvs_flash
|
nvs_flash
|
||||||
mbedtls
|
mbedtls
|
||||||
|
driver
|
||||||
|
esp_event
|
||||||
|
esp_timer
|
||||||
)
|
)
|
||||||
|
|
||||||
register_component()
|
register_component()
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#include "esp_event.h"
|
#include "esp_event.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
#include "esp_mac.h"
|
||||||
#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"
|
||||||
@ -605,4 +606,4 @@ bool is_all_zeros(const uint8_t *buf, int len)
|
|||||||
if (buf[i] != 0)
|
if (buf[i] != 0)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user