0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 06:39:49 +03:00

Restore wideband weak signal bandwidth (squelch more sensitive), added 5 sec BKLT

This commit is contained in:
OneOfEleven
2023-09-21 12:06:31 +01:00
parent 653a00b89d
commit b02d46f66a
13 changed files with 194 additions and 182 deletions

View File

@ -33,21 +33,23 @@ void BACKLIGHT_TurnOn(void)
switch (gEeprom.BACKLIGHT)
{
default:
case 1: // 10 sec
case 1: // 5 sec
gBacklightCountdown = 2 * 5;
break;
case 2: // 10 sec
gBacklightCountdown = 2 * 10;
break;
case 2: // 20 sec
case 3: // 20 sec
gBacklightCountdown = 2 * 20;
break;
case 3: // 40 sec
case 4: // 40 sec
gBacklightCountdown = 2 * 40;
break;
case 4: // 80 sec
case 5: // 80 sec
gBacklightCountdown = 2 * 80;
break;
case 5: // always on
case 6: // always on
gBacklightCountdown = 0;
break;
}
}