diff options
| author | Jay <[email protected]> | 2024-12-23 22:19:35 +0900 |
|---|---|---|
| committer | Jay <[email protected]> | 2024-12-23 22:19:35 +0900 |
| commit | eb1c2b83ef09e87964d1d801c3b78caf924af63b (patch) | |
| tree | 99279ab390878e5712427ebf5431b88fe039f5f5 | |
| parent | b029c940356de3645fc224e429d9ec59acf62606 (diff) | |
trimed trailing whitespaces.
| -rw-r--r-- | examples/device/hid_composite/src/main.c | 2 | ||||
| -rw-r--r-- | src/class/hid/hid.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/hid_composite/src/main.c b/examples/device/hid_composite/src/main.c index bc12d2a93..a58107b6f 100644 --- a/examples/device/hid_composite/src/main.c +++ b/examples/device/hid_composite/src/main.c @@ -209,7 +209,7 @@ static void send_stylus_touch(uint16_t x, uint16_t y, bool state) static bool has_stylus_pen = false; - hid_stylus_report_t report = + hid_stylus_report_t report = { .attr = 0, .x = 0, diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h index fb27c0d0e..b179fc72a 100644 --- a/src/class/hid/hid.h +++ b/src/class/hid/hid.h @@ -340,7 +340,7 @@ typedef struct TU_ATTR_PACKED } hid_stylus_report_t; // Standard Stylus Pen Attributes Bitmap. -typedef enum +typedef enum { STYLUS_ATTR_TIP_SWITCH = TU_BIT(0), ///< Tip switch STYLUS_ATTR_IN_RANGE = TU_BIT(1), ///< In-range bit. |
