ESP IDF Robot

This commit is contained in:
2024-12-22 09:52:22 -05:00
parent 8e4d4418c0
commit f541d55bc5

View File

@@ -137,7 +137,7 @@ static void ledc_init (void) {
.duty_resolution = LEDC_DUTY_RES,
.timer_num = LEDC_TIMER,
.freq_hz = LEDC_FREQUENCY,
.clk_cfg = LED_SUTO_CLK
.clk_cfg = LED_AUTO_CLK
};
ESP_ERROR_CHECK(ledc_timer_config(&ledc_timer));
}