summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-02-06 12:03:01 +0700
committerhathach <[email protected]>2013-02-06 12:03:01 +0700
commite20025b54d16deccbd6e86433f31d80f5a976fd4 (patch)
treeb94fc6905de315cc5ce3778d297cc711cc195f0f /tinyusb/class
parentaeccdfde3f4462fae5e3b9cbb4eae76526bdb204 (diff)
refractor move test enum to its own file
add assert with handler add task assert with error catcher
Diffstat (limited to 'tinyusb/class')
-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 eeed7cb0b..07abb7e6a 100644
--- a/tinyusb/class/hid_host.c
+++ b/tinyusb/class/hid_host.c
@@ -91,7 +91,7 @@ uint8_t tusbh_hid_keyboard_no_instances(tusb_handle_device_t const device_hdl)
//--------------------------------------------------------------------+
void class_hid_keyboard_init(void)
{
- memset(&keyboard_info_pool, 0, sizeof(class_hid_keyboard_info_t)*TUSB_CFG_HOST_DEVICE_MAX);
+ memclr_(&keyboard_info_pool, sizeof(class_hid_keyboard_info_t)*TUSB_CFG_HOST_DEVICE_MAX);
}
tusb_error_t class_hid_keyboard_install(uint8_t const dev_addr, uint8_t const *descriptor)