trimed trailing whitespaces.

This commit is contained in:
Jay
2024-12-23 22:19:35 +09:00
parent b029c94035
commit eb1c2b83ef
2 changed files with 2 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ static void send_stylus_touch(uint16_t x, uint16_t y, bool state)
static bool has_stylus_pen = false; static bool has_stylus_pen = false;
hid_stylus_report_t report = hid_stylus_report_t report =
{ {
.attr = 0, .attr = 0,
.x = 0, .x = 0,

View File

@@ -340,7 +340,7 @@ typedef struct TU_ATTR_PACKED
} hid_stylus_report_t; } hid_stylus_report_t;
// Standard Stylus Pen Attributes Bitmap. // Standard Stylus Pen Attributes Bitmap.
typedef enum typedef enum
{ {
STYLUS_ATTR_TIP_SWITCH = TU_BIT(0), ///< Tip switch STYLUS_ATTR_TIP_SWITCH = TU_BIT(0), ///< Tip switch
STYLUS_ATTR_IN_RANGE = TU_BIT(1), ///< In-range bit. STYLUS_ATTR_IN_RANGE = TU_BIT(1), ///< In-range bit.