Skip to content

Commit 326b5d6

Browse files
committed
Add missing FreeRTOS and soc includes to RMT v2 GPIO adapter
1 parent bafd2b5 commit 326b5d6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/m5_unit_component/adapter_gpio_v2.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@
1111
#include "adapter_gpio_v2.hpp"
1212
#if defined(M5_UNIT_UNIFIED_USING_RMT_V2)
1313

14+
#include <freertos/FreeRTOS.h>
15+
#include <freertos/task.h>
16+
#include <freertos/queue.h>
17+
#include <freertos/semphr.h>
1418
#include <freertos/ringbuf.h>
1519
#include <esp_private/esp_clk.h>
1620
#include <soc/soc_caps.h> // SOC_RMT_MEM_WORDS_PER_CHANNEL
21+
#include <soc/soc.h> // PRO_CPU_NUM
1722

1823
using namespace m5::unit::gpio;
1924

0 commit comments

Comments
 (0)