We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 574ce63 commit b54827bCopy full SHA for b54827b
src/drivers/hardware_specific/esp32/esp32_mcu.cpp
@@ -2,6 +2,10 @@
2
3
#if defined(ESP_H) && defined(ARDUINO_ARCH_ESP32) && defined(SOC_MCPWM_SUPPORTED) && !defined(SIMPLEFOC_ESP32_USELEDC)
4
5
+#ifndef SIMPLEFOC_ESP32_HW_DEADTIME
6
+ #define SIMPLEFOC_ESP32_HW_DEADTIME true // TODO: Change to false when sw-deadtime & phase_state is approved ready for general use.
7
+#endif
8
+
9
// define bldc motor slots array
10
bldc_3pwm_motor_slots_t esp32_bldc_3pwm_motor_slots[4] = {
11
{_EMPTY_SLOT, &MCPWM0, MCPWM_UNIT_0, MCPWM_OPR_A, MCPWM0A, MCPWM1A, MCPWM2A}, // 1st motor will be MCPWM0 channel A
0 commit comments