예제 #1
0
unsigned int Cust_SetBacklight(int level, int div)
{
    mtkfb_set_backlight_pwm(div);
    mtkfb_set_backlight_level(brightness_mapping(level));
    disp_bls_set_backlight(brightness_mapping(level));
    return 0;
}
unsigned int Cust_SetBacklight(int level, int div)
{
#if !defined(CUST_BLS_PWM)
	mtkfb_set_backlight_pwm(div);
	mtkfb_set_backlight_level(brightness_mapping(level));
#else
	disp_bls_set_backlight(brightness_mapping(level));
#endif
	return 0;
}