Skip to content

Commit 4c25ef0

Browse files
committed
forgotten mcpwm ifdef
1 parent 5d4187a commit 4c25ef0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/drivers/hardware_specific/esp32/mcpwm_private.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#define MCPWM_PRIVATE_H
1414

1515

16+
#if defined(ESP_H) && defined(ARDUINO_ARCH_ESP32) && defined(SOC_MCPWM_SUPPORTED) && !defined(SIMPLEFOC_ESP32_USELEDC)
17+
1618
#include "freertos/FreeRTOS.h"
1719
#include "esp_intr_alloc.h"
1820
#include "esp_heap_caps.h"
@@ -75,4 +77,6 @@ struct mcpwm_timer_t {
7577
}
7678
#endif
7779

80+
#endif
81+
7882
#endif /* MCPWM_PRIVATE_H */

0 commit comments

Comments
 (0)