mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-29 13:45:45 +00:00
refactor(ledc): deprecate ledc_isr_register and ledc_channel_config_t::intr_type
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
dependencies:
|
||||
espressif/esp_cam_sensor: "^1.1.0"
|
||||
espressif/esp_cam_sensor: "^1.2.1"
|
||||
idf:
|
||||
version: ">=5.3.0"
|
||||
|
@@ -234,7 +234,6 @@ static void example_rgb_ledc_init(void)
|
||||
ledc_channel_config_t ledc_channel = {
|
||||
.speed_mode = LEDC_MODE,
|
||||
.timer_sel = LEDC_TIMER,
|
||||
.intr_type = LEDC_INTR_DISABLE,
|
||||
.duty = 0, // Set initial duty to 0%
|
||||
.hpoint = 0
|
||||
};
|
||||
|
Reference in New Issue
Block a user