Flashlight SOS function

This commit is contained in:
Krzysiek Egzmont
2023-10-15 23:54:14 +02:00
parent d7c458839c
commit ec4bec5b1f
3 changed files with 32 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ static void ACTION_FlashLight(void)
GPIO_SetBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT);
break;
case 1:
case 2:
gFlashLightState++;
break;
default: