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 | |
| parent | 5feb1c90b41b2da4667b9e1f1fde069b6e1bfdcc (diff) | |
remove violation MISRA 6.3 on errors
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/hid_host.c | 2 | ||||
| -rw-r--r-- | tinyusb/class/hid_host.h | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/tinyusb/class/hid_host.h b/tinyusb/class/hid_host.h index a34a813d9..d1729b10b 100644 --- a/tinyusb/class/hid_host.h +++ b/tinyusb/class/hid_host.h @@ -80,7 +80,7 @@ typedef struct { keyboard_interface_t instance[TUSB_CFG_HOST_HID_KEYBOARD_NO_INSTANCES_PER_DEVICE]; } class_hid_keyboard_info_t; -tusb_error_t class_hid_keyboard_init(void); +void class_hid_keyboard_init(void); tusb_error_t class_hid_keyboard_install(uint8_t const dev_addr, uint8_t const *descriptor); #endif |
