summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-08-17 13:29:26 +0700
committerhathach <[email protected]>2021-08-17 13:29:26 +0700
commita6d18c400ddc6b61f665baae5672ed46af17c99c (patch)
tree655db0015d3525ac6afcd7bfba5e9803f8e62c79 /src/class
parent5f6418ccd79892c0f8c2152244f7e7a78e17a162 (diff)
fix keyboard report reserved is always 0
Diffstat (limited to 'src/class')
-rw-r--r--src/class/hid/hid_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c
index a10e3a5e3..2ee80750a 100644
--- a/src/class/hid/hid_device.c
+++ b/src/class/hid/hid_device.c
@@ -121,6 +121,7 @@ bool tud_hid_n_keyboard_report(uint8_t instance, uint8_t report_id, uint8_t modi
hid_keyboard_report_t report;
report.modifier = modifier;
+ report.reserved = 0;
if ( keycode )
{