fixes to build with esp idf v5.0.1
This commit is contained in:
parent
1759b774a9
commit
1cbb99edac
4 changed files with 8 additions and 8 deletions
|
@ -54,7 +54,7 @@ disp_backlight_h disp_backlight_new(const disp_backlight_config_t *config)
|
|||
};
|
||||
const ledc_timer_config_t LCD_backlight_timer = {
|
||||
.speed_mode = LEDC_LOW_SPEED_MODE,
|
||||
.bit_num = LEDC_TIMER_10_BIT,
|
||||
.duty_resolution = LEDC_TIMER_10_BIT,
|
||||
.timer_num = config->timer_idx,
|
||||
.freq_hz = 5000,
|
||||
.clk_cfg = LEDC_AUTO_CLK};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue