mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
lots of renames
This commit is contained in:
@ -22,15 +22,15 @@
|
||||
// this is decremented once every 500ms
|
||||
uint16_t gBacklightCountdown = 0;
|
||||
|
||||
void BACKLIGHT_TurnOn(void)
|
||||
void backlight_turn_on(void)
|
||||
{
|
||||
if (gEeprom.BACKLIGHT == 0)
|
||||
if (g_eeprom.backlight == 0)
|
||||
return;
|
||||
|
||||
// turn the backlight ON
|
||||
GPIO_SetBit(&GPIOB->DATA, GPIOB_PIN_BACKLIGHT);
|
||||
|
||||
switch (gEeprom.BACKLIGHT)
|
||||
switch (g_eeprom.backlight)
|
||||
{
|
||||
default:
|
||||
case 1: // 5 sec
|
||||
|
Reference in New Issue
Block a user