refactor(ledc): deprecate ledc_isr_register and ledc_channel_config_t::intr_type

This commit is contained in:
Song Ruo Jing
2025-07-07 17:55:38 +08:00
parent dca8f204eb
commit 63e2d6828b
10 changed files with 12 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
dependencies:
espressif/esp_cam_sensor: "^1.1.0"
espressif/esp_cam_sensor: "^1.2.1"
idf:
version: ">=5.3.0"

View File

@@ -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
};