mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-09-01 22:18:07 +00:00
ESP IDF Robot
This commit is contained in:
@@ -137,7 +137,7 @@ static void ledc_init (void) {
|
|||||||
.duty_resolution = LEDC_DUTY_RES,
|
.duty_resolution = LEDC_DUTY_RES,
|
||||||
.timer_num = LEDC_TIMER,
|
.timer_num = LEDC_TIMER,
|
||||||
.freq_hz = LEDC_FREQUENCY,
|
.freq_hz = LEDC_FREQUENCY,
|
||||||
.clk_cfg = LED_SUTO_CLK
|
.clk_cfg = LED_AUTO_CLK
|
||||||
};
|
};
|
||||||
ESP_ERROR_CHECK(ledc_timer_config(&ledc_timer));
|
ESP_ERROR_CHECK(ledc_timer_config(&ledc_timer));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user