@@ -344,12 +344,12 @@ void _writeDutyCycle6PWM(float dc_a, float dc_b, float dc_c, float dead_zone, i
344
344
// mcpwm_set_duty(esp32_bldc_6pwm_motor_slots[i].mcpwm_unit, MCPWM_TIMER_1, MCPWM_OPR_B, dc_b*100.0);
345
345
// mcpwm_set_duty(esp32_bldc_6pwm_motor_slots[i].mcpwm_unit, MCPWM_TIMER_2, MCPWM_OPR_A, dc_c*100.0);
346
346
// mcpwm_set_duty(esp32_bldc_6pwm_motor_slots[i].mcpwm_unit, MCPWM_TIMER_2, MCPWM_OPR_B, dc_c*100.0);
347
- mcpwm_set_duty (MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_A, 50 );
348
- mcpwm_set_duty (MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_B, 50 );
349
- mcpwm_set_duty (MCPWM_UNIT_0, MCPWM_TIMER_1, MCPWM_OPR_A, 50 );
350
- mcpwm_set_duty (MCPWM_UNIT_0, MCPWM_TIMER_1, MCPWM_OPR_B, 50 );
351
- mcpwm_set_duty (MCPWM_UNIT_0, MCPWM_TIMER_2, MCPWM_OPR_A, 50 );
352
- mcpwm_set_duty (MCPWM_UNIT_0, MCPWM_TIMER_2, MCPWM_OPR_B, 50 );
347
+ // mcpwm_set_duty(MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_A, 50);
348
+ // mcpwm_set_duty(MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_OPR_B, 50);
349
+ // mcpwm_set_duty(MCPWM_UNIT_0, MCPWM_TIMER_1, MCPWM_OPR_A, 50);
350
+ // mcpwm_set_duty(MCPWM_UNIT_0, MCPWM_TIMER_1, MCPWM_OPR_B, 50);
351
+ // mcpwm_set_duty(MCPWM_UNIT_0, MCPWM_TIMER_2, MCPWM_OPR_A, 50);
352
+ // mcpwm_set_duty(MCPWM_UNIT_0, MCPWM_TIMER_2, MCPWM_OPR_B, 50);
353
353
// break;
354
354
// }
355
355
// }
0 commit comments