-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Longer ABR time #63
Comments
@SirioSechi This is now possible with a uvmod-kitchen patch: https://github.com/amnemonic/Quansheng_UV-K5_Firmware/blob/main/uvmod_kitchen/mod_double_abr_values.py |
The backlight is controlled by following code. // Enable backlight function.
uVar1 = ABR_time;
if (uVar1 != 0) {
set_bit(&GPIO_PORTB,6);
uVar1 = ABR_time;
screen_timer = uVar1 * 2 + 1; //tick seems 0.5s
} // turn off backlight, in somewhere of main loop.
timeleft = screen_timer?;
screen_timer = timeleft -1;
if ((timeleft !=0) && screen_timer == 0 ) {
clear_bit(&GPIO_PORTB,6);
} Another possible solution for backlight control is to mask out the turn off code section and create a separate function to handle the backlight's shutdown. In this case, we could get more control for backlight.
|
Is it possible to integrate it by default in all new versions? I think it is a useful improvement. |
Hi
Currently in the menu ABR (settings for the time of the backlignt) is OFF; 1; 2; 3; 4; 5.
My proposition is to give more time until 10 seconds, such: OFF; 2; 4; 6; 8; 10.
Thank you.
The text was updated successfully, but these errors were encountered: