Skip to content

Commit 11fe69f

Browse files
fix prototype for boot_BatteryCharging
Signed-off-by: mateoconlechuga <matthewwaltzis@gmail.com>
1 parent ada19c9 commit 11fe69f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ce/include/sys/power.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ void boot_Set48MHzModeI(void);
6666
tiflags uint8_t boot_GetBatteryStatus(void);
6767

6868
/**
69-
* @returns True if the battery is currently charging.
69+
* @returns A non-zero value if the battery is charging.
7070
*/
71-
bool boot_BatteryCharging(void);
71+
uint8_t boot_BatteryCharging(void);
7272

7373

7474
#define os_ApdFlags (*(uint8_t*)0xD00088)

0 commit comments

Comments
 (0)