Skip to content

Commit 273d694

Browse files
committed
style(firmware): clang-format keyboard persona helper (2026.6.15.0-5AB1)
Join a wrapped expression in is_keyboard_persona() that fits the 100-col limit, matching the repo clang-format style.
1 parent e6a6209 commit 273d694

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pico-bridge/src/usb_descriptors.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ static const tusb_desc_device_t desc_device_keyboard = {
108108
// always reports the controller persona (boot_mode_run_persona() is
109109
// pinned to the controller default), so this is false outside run mode.
110110
static bool is_keyboard_persona(void) {
111-
return boot_mode_current() == BOOT_MODE_RUN &&
112-
boot_mode_run_persona() == RUN_PERSONA_KEYBOARD;
111+
return boot_mode_current() == BOOT_MODE_RUN && boot_mode_run_persona() == RUN_PERSONA_KEYBOARD;
113112
}
114113

115114
uint8_t const *tud_descriptor_device_cb(void) {

0 commit comments

Comments
 (0)