[Horus] Backlight driver wouldn't turn backlight on before 15% for prod hardware - no reason for it to be different from beta (#4326)
This commit is contained in:
@@ -46,7 +46,7 @@ void backlightInit()
|
||||
// TIMER init
|
||||
if (IS_HORUS_PROD()) {
|
||||
PROD_BL_TIMER->ARR = 100;
|
||||
PROD_BL_TIMER->PSC = PROD_BL_TIMER_FREQ / 50000 - 1; // 20us * 100 = 2ms => 500Hz
|
||||
PROD_BL_TIMER->PSC = PROD_BL_TIMER_FREQ / 10000 - 1; // 1kHz
|
||||
PROD_BL_TIMER->CCMR2 = TIM_CCMR2_OC4M_1 | TIM_CCMR2_OC4M_2; // PWM
|
||||
PROD_BL_TIMER->CCER = TIM_CCER_CC4E;
|
||||
PROD_BL_TIMER->CCR4 = 0;
|
||||
|
||||
Reference in New Issue
Block a user