summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid_host.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-27 12:38:06 +0700
committerhathach <[email protected]>2013-01-27 12:38:06 +0700
commita22cfb2dee31e437ca43351e705b60e143f169d6 (patch)
tree7ebe0afa4dfd1699ce8389fc33c352dfd59c26cc /tinyusb/class/hid_host.c
parent5feb1c90b41b2da4667b9e1f1fde069b6e1bfdcc (diff)
remove violation MISRA 6.3 on errors
Diffstat (limited to 'tinyusb/class/hid_host.c')
-rw-r--r--tinyusb/class/hid_host.c2
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);
}