mirror of
https://github.com/egzumer/uv-k5-firmware-custom
synced 2024-11-22 09:44:12 +00:00
23 lines
389 B
C
23 lines
389 B
C
#ifndef APP_FLASHLIGHT_H
|
|
#define APP_FLASHLIGHT_H
|
|
|
|
#ifdef ENABLE_FLASHLIGHT
|
|
|
|
#include <stdint.h>
|
|
|
|
enum FlashlightMode_t {
|
|
FLASHLIGHT_OFF = 0,
|
|
FLASHLIGHT_ON,
|
|
FLASHLIGHT_BLINK,
|
|
FLASHLIGHT_SOS
|
|
};
|
|
|
|
extern enum FlashlightMode_t gFlashLightState;
|
|
extern volatile uint16_t gFlashLightBlinkCounter;
|
|
|
|
void FlashlightTimeSlice(void);
|
|
void ACTION_FlashLight(void);
|
|
|
|
#endif
|
|
|
|
#endif |