Added idfv_4_0 support and added one new resolution
This commit is contained in:
committed by
Ivan Grokhotkov
parent
1b8fdfe335
commit
8a365ee272
@@ -15,7 +15,7 @@ esp_err_t camera_enable_out_clock(camera_config_t* config)
|
||||
{
|
||||
periph_module_enable(PERIPH_LEDC_MODULE);
|
||||
|
||||
ledc_timer_config_t timer_conf;
|
||||
ledc_timer_config_t timer_conf = {};
|
||||
timer_conf.duty_resolution = 2;
|
||||
timer_conf.freq_hz = config->xclk_freq_hz;
|
||||
timer_conf.speed_mode = LEDC_HIGH_SPEED_MODE;
|
||||
|
||||
Reference in New Issue
Block a user