please the formatter

This commit is contained in:
zhiayang 2024-02-09 00:56:12 -05:00
parent 4443164e3f
commit 0a45dab31d
No known key found for this signature in database
GPG key ID: 5E2F30AD6F08571F
3 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@ static struct battery_status_state battery_status_get_state(const zmk_event_t *e
soc = zmk_battery_state_of_charge();
}
return (struct battery_status_state){
return (struct battery_status_state) {
.level = soc,
#if IS_ENABLED(CONFIG_USB_DEVICE_STACK)
.usb_present = zmk_usb_is_powered(),

View file

@ -218,7 +218,7 @@ static struct battery_status_state battery_status_get_state(const zmk_event_t *e
soc = zmk_battery_state_of_charge();
}
return (struct battery_status_state){
return (struct battery_status_state) {
.level = soc,
#if IS_ENABLED(CONFIG_USB_DEVICE_STACK)
.usb_present = zmk_usb_is_powered(),

View file

@ -71,7 +71,7 @@ static struct battery_status_state battery_status_get_state(const zmk_event_t *e
soc = zmk_battery_state_of_charge();
}
return (struct battery_status_state){
return (struct battery_status_state) {
.level = soc,
#if IS_ENABLED(CONFIG_USB_DEVICE_STACK)
.usb_present = zmk_usb_is_powered(),