Skip to content

Commit

Permalink
update clock configuration (needed after driver update, as discussed in
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Oct 14, 2019
1 parent 1c0504d commit 55a9e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mpu6050/components/esp32-camera/driver/xclk.c
Expand Up @@ -20,6 +20,7 @@ esp_err_t camera_enable_out_clock(camera_config_t* config)
timer_conf.freq_hz = config->xclk_freq_hz;
timer_conf.speed_mode = LEDC_HIGH_SPEED_MODE;
timer_conf.timer_num = config->ledc_timer;
timer_conf.clk_cfg = LEDC_AUTO_CLK;
esp_err_t err = ledc_timer_config(&timer_conf);
if (err != ESP_OK) {
ESP_LOGE(TAG, "ledc_timer_config failed, rc=%x", err);
Expand Down

0 comments on commit 55a9e18

Please sign in to comment.