mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Re-structure source code
This commit is contained in:
1 parent
beec11d896
commit
fd35d216b2
706 files changed
+351289
No files matched your search
@@ -0,0 +1,25 @@
|
||||
#ifndef APP_FLASHLIGHT_H
|
||||
#define APP_FLASHLIGHT_H
|
||||
|
||||
#ifdef ENABLE_FLASHLIGHT
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if !defined(ENABLE_FEAT_F4HWN) || defined(ENABLE_FEAT_F4HWN_RESCUE_OPS)
|
||||
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);
|
||||
#endif
|
||||
void ACTION_FlashLight(void);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user