Skip to content

Commit d243cbf

Browse files
author
Richard Unger
committed
made ESP32 LEDC driver selectable via build flag
1 parent cc3393d commit d243cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drivers/hardware_specific/esp32_mcu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "../hardware_api.h"
22

3-
#if defined(ESP_H) && defined(ARDUINO_ARCH_ESP32) && defined(SOC_MCPWM_SUPPORTED)
3+
#if defined(ESP_H) && defined(ARDUINO_ARCH_ESP32) && defined(SOC_MCPWM_SUPPORTED) && !defined(SIMPLEFOC_ESP32_USELEDC)
44

55
#include "driver/mcpwm.h"
66
#include "soc/mcpwm_reg.h"

0 commit comments

Comments
 (0)