summaryrefslogtreecommitdiff
path: root/examples/host/hid_controller/src/hid_app.c
diff options
context:
space:
mode:
authorJames Smith <[email protected]>2023-02-09 19:52:42 -0700
committerhathach <[email protected]>2023-03-13 16:31:25 +0700
commit43770802f9164f8bc3973719c25ba46ff4ba23ca (patch)
tree9e4968654cd9554f41f73a6dec696b9c7b07b7f2 /examples/host/hid_controller/src/hid_app.c
parent296ce528fcc3632205cb7f6f5a2f386169fdbf36 (diff)
Removed tabs from host hid_controller example
Diffstat (limited to 'examples/host/hid_controller/src/hid_app.c')
-rw-r--r--examples/host/hid_controller/src/hid_app.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/host/hid_controller/src/hid_app.c b/examples/host/hid_controller/src/hid_app.c
index 0444d6eb5..114768ab7 100644
--- a/examples/host/hid_controller/src/hid_app.c
+++ b/examples/host/hid_controller/src/hid_app.c
@@ -106,7 +106,7 @@ typedef struct TU_ATTR_PACKED
typedef struct TU_ATTR_PACKED {
// First 16 bits set what data is pertinent in this structure (1 = set; 0 = not set)
- uint8_t set_rumble : 1;
+ uint8_t set_rumble : 1;
uint8_t set_led : 1;
uint8_t set_led_blink : 1;
uint8_t set_ext_write : 1;
@@ -116,16 +116,16 @@ typedef struct TU_ATTR_PACKED {
uint8_t set_speaker_volume : 1;
uint8_t set_flags2;
- uint8_t reserved;
+ uint8_t reserved;
- uint8_t motor_right;
- uint8_t motor_left;
+ uint8_t motor_right;
+ uint8_t motor_left;
- uint8_t lightbar_red;
- uint8_t lightbar_green;
- uint8_t lightbar_blue;
- uint8_t lightbar_blink_on;
- uint8_t lightbar_blink_off;
+ uint8_t lightbar_red;
+ uint8_t lightbar_green;
+ uint8_t lightbar_blue;
+ uint8_t lightbar_blink_on;
+ uint8_t lightbar_blink_off;
uint8_t ext_data[8];