diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-10 03:15:00 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 03:15:00 +1000 |
commit | 6c5e94061c05c94a2404d4edcca4882cdfca844e (patch) | |
tree | a33a50b600c04e6681e63014bbaa6dee385cbde7 /drivers | |
parent | 1426ffc0ee64c1d6de072ffc9d7fd9d1291f4f86 (diff) | |
download | qmk_firmware-6c5e94061c05c94a2404d4edcca4882cdfca844e.tar.gz qmk_firmware-6c5e94061c05c94a2404d4edcca4882cdfca844e.zip |
[CI] Format code according to conventions (#12838)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/haptic/haptic.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/haptic/haptic.h b/drivers/haptic/haptic.h index 9223ad1c8..ba8e0d20b 100644 --- a/drivers/haptic/haptic.h +++ b/drivers/haptic/haptic.h | |||
@@ -34,13 +34,13 @@ | |||
34 | typedef union { | 34 | typedef union { |
35 | uint32_t raw; | 35 | uint32_t raw; |
36 | struct { | 36 | struct { |
37 | bool enable : 1; | 37 | bool enable : 1; |
38 | uint8_t feedback : 2; | 38 | uint8_t feedback : 2; |
39 | uint8_t mode : 7; | 39 | uint8_t mode : 7; |
40 | bool buzz : 1; | 40 | bool buzz : 1; |
41 | uint8_t dwell : 7; | 41 | uint8_t dwell : 7; |
42 | bool cont : 1; | 42 | bool cont : 1; |
43 | uint8_t amplitude : 8; | 43 | uint8_t amplitude : 8; |
44 | uint8_t reserved : 5; | 44 | uint8_t reserved : 5; |
45 | }; | 45 | }; |
46 | } haptic_config_t; | 46 | } haptic_config_t; |