summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/onda_vx747/backlight-onda_vx7X7.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/onda_vx747/backlight-onda_vx7X7.c')
-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)
the flickering is not perceptible to the human eye but
not greater than about 1kHz. */
- /* Clock = 8192 Hz */
+ /* Clock = 32 768 Hz */
/* 1 <= val <= 30 */
int cycle = (MAX_BRIGHTNESS_SETTING - val + 1);
@@ -84,7 +84,7 @@ bool _backlight_init(void)
__tcu_enable_pwm_output(BACKLIGHT_PWM);
__tcu_select_rtcclk(BACKLIGHT_PWM); /* 32.768 kHz */
- __tcu_select_clk_div1(BACKLIGHT_PWM); /* 8.192 kHz */
+ __tcu_select_clk_div1(BACKLIGHT_PWM);
__tcu_mask_half_match_irq(BACKLIGHT_PWM);
__tcu_mask_full_match_irq(BACKLIGHT_PWM);