forked from kofal.net/zmk
added battery.h, last_state_of_charge to uint8_t
This commit is contained in:
9
app/include/zmk/battery.h
Normal file
9
app/include/zmk/battery.h
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) 2021 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
uint8_t zmk_battery_state_of_charge();
|
||||
@@ -14,6 +14,4 @@ struct zmk_battery_state_changed {
|
||||
uint8_t state_of_charge;
|
||||
};
|
||||
|
||||
int32_t zmk_battery_state_of_charge();
|
||||
|
||||
ZMK_EVENT_DECLARE(zmk_battery_state_changed);
|
||||
Reference in New Issue
Block a user