mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Save 8 bytes
This commit is contained in:
1 parent
07e4c60d90
commit
c681e1fbce
1 file changed
+1
-5
@@ -831,11 +831,7 @@ void APP_Update(void)
|
||||
if(gSetting_set_tot >= 2)
|
||||
{
|
||||
if (gEeprom.BACKLIGHT_TIME == 0) {
|
||||
if (gBlinkCounter == 0)
|
||||
{
|
||||
GPIO_FlipBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT);
|
||||
}
|
||||
else if(gBlinkCounter == 250)
|
||||
if (gBlinkCounter == 0 || gBlinkCounter == 250)
|
||||
{
|
||||
GPIO_FlipBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user