ESP IDF Robot

This commit is contained in:
2024-12-22 09:51:57 -05:00
parent 6cc496a681
commit 8e4d4418c0

View File

@@ -139,6 +139,7 @@ static void ledc_init (void) {
.freq_hz = LEDC_FREQUENCY, .freq_hz = LEDC_FREQUENCY,
.clk_cfg = LED_SUTO_CLK .clk_cfg = LED_SUTO_CLK
}; };
ESP_ERROR_CHECK(ledc_timer_config(&ledc_timer));
} }
void app_main(void) void app_main(void)