mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-28 17:05:18 -05:00
only send zmk_battery_state_changed on change
This commit is contained in:
@@ -14,4 +14,6 @@ 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