diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-09-14 09:46:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 09:46:35 -0400 |
commit | 9110335142813c60c4ae3572444d4f954c41ef14 (patch) | |
tree | d8f758f8d87e7e8f7bb7e2f39a8de2f0a3158e34 /app/include/zmk/hid.h | |
parent | 2c38947d1dcde236c27aba0c29042e4b610ee5d8 (diff) | |
parent | 191a2d755ad4761bd04a30a113e05119ad7aa61e (diff) |
Merge pull request #183 from petejohanson/ops/clang-format-checks
Standardize code formatting using clang-format w/ LLVM style
Diffstat (limited to 'app/include/zmk/hid.h')
-rw-r--r-- | app/include/zmk/hid.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h index a945e72..744de98 100644 --- a/app/include/zmk/hid.h +++ b/app/include/zmk/hid.h @@ -140,25 +140,21 @@ static const u8_t zmk_hid_report_desc[] = { // u8_t keys[6]; // } __packed; -struct zmk_hid_keypad_report_body -{ +struct zmk_hid_keypad_report_body { zmk_mod_flags modifiers; u8_t keys[13]; } __packed; -struct zmk_hid_keypad_report -{ +struct zmk_hid_keypad_report { u8_t report_id; struct zmk_hid_keypad_report_body body; } __packed; -struct zmk_hid_consumer_report_body -{ +struct zmk_hid_consumer_report_body { u8_t keys[6]; } __packed; -struct zmk_hid_consumer_report -{ +struct zmk_hid_consumer_report { u8_t report_id; struct zmk_hid_consumer_report_body body; } __packed; |