Skip to content

Commit

Permalink
Add includes that are required in ESP-IDF v5
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSchinazi committed Dec 22, 2024
1 parent 6ee30ed commit a85c4d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/jazzlights/networks/esp32_ble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <esp_bt.h>
#include <esp_bt_main.h>
#include <esp_gap_ble_api.h>
#include <esp_random.h>

#include <cmath>
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion src/jazzlights/pseudorandom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <unistd.h>
#endif
#elif defined(ESP32)
#include "esp_system.h"
#include <esp_random.h>
#endif

#include "jazzlights/util/log.h"
Expand Down
1 change: 1 addition & 0 deletions src/jazzlights/ui/gpio_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <esp_ipc.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <rom/ets_sys.h>

#include "jazzlights/esp32_shared.h"
#include "jazzlights/util/log.h"
Expand Down

0 comments on commit a85c4d6

Please sign in to comment.