summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-17 12:47:44 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-17 13:31:16 -0600
commit3c512ac435bb054e56b06a93adf7e74e4ce352fc (patch)
treed2569fec5c9ed8c094d358c541484fffb83ec6c7 /cmd/sbc_harness
parent7cbd849648d41c8b55b5b5fe618b8d20e75db868 (diff)
Fix some funny indents
Diffstat (limited to 'cmd/sbc_harness')
-rw-r--r--cmd/sbc_harness/fs_harness_flash_bin.c2
-rw-r--r--cmd/sbc_harness/usb_keyboard.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/cmd/sbc_harness/fs_harness_flash_bin.c b/cmd/sbc_harness/fs_harness_flash_bin.c
index 3c3fa16..5e6f49c 100644
--- a/cmd/sbc_harness/fs_harness_flash_bin.c
+++ b/cmd/sbc_harness/fs_harness_flash_bin.c
@@ -166,7 +166,7 @@ static struct lib9p_srv_stat flash_file_stat(struct flash_file *self, struct lib
};
}
static void flash_file_wstat(struct flash_file *self, struct lib9p_srv_ctx *ctx,
- struct lib9p_srv_stat) {
+ struct lib9p_srv_stat) {
assert(self);
assert(ctx);
diff --git a/cmd/sbc_harness/usb_keyboard.c b/cmd/sbc_harness/usb_keyboard.c
index fc273eb..dcd4465 100644
--- a/cmd/sbc_harness/usb_keyboard.c
+++ b/cmd/sbc_harness/usb_keyboard.c
@@ -85,12 +85,12 @@ COROUTINE usb_keyboard_cr(void *_chan) {
* ยง6.2.2 "Report Descriptor") for the given index.
*/
uint8_t const *tud_hid_descriptor_report_cb(uint8_t index) {
- static uint8_t const *reports[] = {
- hid_report_descriptor_keyboard,
- };
- if (index >= TU_ARRAY_SIZE(reports))
- return NULL;
- return reports[index];
+ static uint8_t const *reports[] = {
+ hid_report_descriptor_keyboard,
+ };
+ if (index >= TU_ARRAY_SIZE(reports))
+ return NULL;
+ return reports[index];
}
uint16_t tud_hid_get_report_cb(uint8_t LM_UNUSED(instance),