diff options
| author | Ha Thach <[email protected]> | 2021-08-19 11:24:10 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-19 11:24:10 +0700 |
| commit | c4a9a04d67ffa64adf784c71b12e6c1b7bf260c3 (patch) | |
| tree | b2588ff9cbd70f2b27f0f71cb72c360813b0fe3c /src | |
| parent | 3a248951e2744ba89f5fb96eda85a971001115f0 (diff) | |
| parent | c050612142ba1ab52cce7c7141230d5108e9936b (diff) | |
Merge pull request #1025 from hathach/add-hid-boot-example
add hid_boot_interface example
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/hid/hid_device.c | 1 |
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 ) { |
