please the formatter
This commit is contained in:
parent
4443164e3f
commit
0a45dab31d
3 changed files with 3 additions and 3 deletions
|
@ -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(),
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue