summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx747/backlight-onda_vx7X7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx747/backlight-onda_vx7X7.c b/firmware/target/mips/ingenic_jz47xx/onda_vx747/backlight-onda_vx7X7.c
index 391af0acb7..f2ef3f7dc1 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx747/backlight-onda_vx7X7.c
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx747/backlight-onda_vx7X7.c
@@ -42,7 +42,7 @@ static void set_backlight(int val)
42 the flickering is not perceptible to the human eye but 42 the flickering is not perceptible to the human eye but
43 not greater than about 1kHz. */ 43 not greater than about 1kHz. */
44 44
45 /* Clock = 8192 Hz */ 45 /* Clock = 32 768 Hz */
46 /* 1 <= val <= 30 */ 46 /* 1 <= val <= 30 */
47 int cycle = (MAX_BRIGHTNESS_SETTING - val + 1); 47 int cycle = (MAX_BRIGHTNESS_SETTING - val + 1);
48 48
@@ -84,7 +84,7 @@ bool _backlight_init(void)
84 __tcu_enable_pwm_output(BACKLIGHT_PWM); 84 __tcu_enable_pwm_output(BACKLIGHT_PWM);
85 85
86 __tcu_select_rtcclk(BACKLIGHT_PWM); /* 32.768 kHz */ 86 __tcu_select_rtcclk(BACKLIGHT_PWM); /* 32.768 kHz */
87 __tcu_select_clk_div1(BACKLIGHT_PWM); /* 8.192 kHz */ 87 __tcu_select_clk_div1(BACKLIGHT_PWM);
88 88
89 __tcu_mask_half_match_irq(BACKLIGHT_PWM); 89 __tcu_mask_half_match_irq(BACKLIGHT_PWM);
90 __tcu_mask_full_match_irq(BACKLIGHT_PWM); 90 __tcu_mask_full_match_irq(BACKLIGHT_PWM);