Skip to content

Commit

Permalink
switcheroo battery defines
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewKuKanich committed Apr 5, 2024
1 parent 5aa308e commit 35b2436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions applications/system/findmy/findmy_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
void furi_hal_bt_reverse_mac_addr(uint8_t mac_addr[GAP_MAC_ADDR_SIZE]);
#endif

#define BATTERY_FULL 0x00
#define BATTERY_MEDIUM 0x50
#define BATTERY_LOW 0xA0
#define BATTERY_CRITICAL 0xF0

struct FindMy {
Gui* gui;
Storage* storage;
Expand Down
5 changes: 5 additions & 0 deletions applications/system/findmy/findmy_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
#define FINDMY_STATE_DIR EXT_PATH("apps_data/findmy")
#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 {
FindMyTypeApple,
FindMyTypeSamsung,
Expand Down

0 comments on commit 35b2436

Please sign in to comment.