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.
2 parents 261e8eb + d9ee211 commit 10e6178Copy full SHA for 10e6178
target/xclk.c
@@ -47,7 +47,7 @@ esp_err_t camera_enable_out_clock(const camera_config_t* config)
47
}
48
49
g_ledc_channel = config->ledc_channel;
50
- ledc_channel_config_t ch_conf;
+ ledc_channel_config_t ch_conf = {0};
51
ch_conf.gpio_num = config->pin_xclk;
52
ch_conf.speed_mode = LEDC_LOW_SPEED_MODE;
53
ch_conf.channel = config->ledc_channel;
0 commit comments