mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 10:48:35 -07:00
switcheroo battery defines
This commit is contained in:
@@ -24,11 +24,6 @@
|
|||||||
void furi_hal_bt_reverse_mac_addr(uint8_t mac_addr[GAP_MAC_ADDR_SIZE]);
|
void furi_hal_bt_reverse_mac_addr(uint8_t mac_addr[GAP_MAC_ADDR_SIZE]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BATTERY_FULL 0x00
|
|
||||||
#define BATTERY_MEDIUM 0x50
|
|
||||||
#define BATTERY_LOW 0xA0
|
|
||||||
#define BATTERY_CRITICAL 0xF0
|
|
||||||
|
|
||||||
struct FindMy {
|
struct FindMy {
|
||||||
Gui* gui;
|
Gui* gui;
|
||||||
Storage* storage;
|
Storage* storage;
|
||||||
|
|||||||
@@ -7,6 +7,11 @@
|
|||||||
#define FINDMY_STATE_DIR EXT_PATH("apps_data/findmy")
|
#define FINDMY_STATE_DIR EXT_PATH("apps_data/findmy")
|
||||||
#define FINDMY_STATE_PATH FINDMY_STATE_DIR "/findmy_state.txt"
|
#define FINDMY_STATE_PATH FINDMY_STATE_DIR "/findmy_state.txt"
|
||||||
|
|
||||||
|
#define BATTERY_FULL 0x00
|
||||||
|
#define BATTERY_MEDIUM 0x50
|
||||||
|
#define BATTERY_LOW 0xA0
|
||||||
|
#define BATTERY_CRITICAL 0xF0
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FindMyTypeApple,
|
FindMyTypeApple,
|
||||||
FindMyTypeSamsung,
|
FindMyTypeSamsung,
|
||||||
|
|||||||
Reference in New Issue
Block a user