We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1520b63 commit b8f25dfCopy full SHA for b8f25df
1 file changed
src/drivers/hardware_specific/esp32/esp32_ledc_mcu.cpp
@@ -104,6 +104,7 @@ bool _ledcAttachChannelAdvanced(uint8_t pin, int _channel, int _group, uint32_t
104
uint32_t duty = ledc_get_duty(group, channel);
105
ledc_channel_config_t ledc_channel;
106
ledc_channel.speed_mode = group;
107
+ ledc_channel.sleep_mode = LEDC_SLEEP_MODE_KEEP_ALIVE;
108
ledc_channel.channel = channel;
109
ledc_channel.timer_sel = LEDC_TIMER_0;
110
ledc_channel.intr_type = LEDC_INTR_DISABLE;
0 commit comments