diff options
| author | hathach <[email protected]> | 2013-01-27 12:38:06 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-27 12:38:06 +0700 |
| commit | a22cfb2dee31e437ca43351e705b60e143f169d6 (patch) | |
| tree | 7ebe0afa4dfd1699ce8389fc33c352dfd59c26cc /tinyusb/class/hid_host.c | |
| parent | 5feb1c90b41b2da4667b9e1f1fde069b6e1bfdcc (diff) | |
remove violation MISRA 6.3 on errors
Diffstat (limited to 'tinyusb/class/hid_host.c')
| -rw-r--r-- | tinyusb/class/hid_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c index 3853f2538..a22c97407 100644 --- a/tinyusb/class/hid_host.c +++ b/tinyusb/class/hid_host.c @@ -88,7 +88,7 @@ uint8_t tusbh_hid_keyboard_no_instances(tusb_handle_device_t const device_hdl) //--------------------------------------------------------------------+ // CLASS-USBD API //--------------------------------------------------------------------+ -tusb_error_t class_hid_keyboard_init(void) +void class_hid_keyboard_init(void) { memset(&keyboard_info_pool, 0, sizeof(class_hid_keyboard_info_t)*TUSB_CFG_HOST_DEVICE_MAX); } |
