mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-30 13:56:36 +00:00
refactor(ledc): deprecate ledc_isr_register and ledc_channel_config_t::intr_type
This commit is contained in:
@@ -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