summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-26 18:00:05 +0700
committerhathach <[email protected]>2013-06-26 18:00:05 +0700
commitea2e63a332a0d46971f32bd84c84851c2246fe8c (patch)
tree16dddc010f48df6e770a0ee5abdba2029ea8b61d /tinyusb/device
parentc7f7bc9808715c2be40b2b54f27b4ddab71f0279 (diff)
remove app_os_prio.h in os_none configure
remove instance_num in hidh API temporarily pause device stack developement should fix travis-ci build error
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/usbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c
index 3fb8fa542..1a70447ca 100644
--- a/tinyusb/device/usbd.c
+++ b/tinyusb/device/usbd.c
@@ -176,13 +176,14 @@ tusb_error_t usbd_init (void)
ASSERT_STATUS ( dcd_init() );
uint16_t length = 0;
+
#if TUSB_CFG_DEVICE_HID_KEYBOARD
tusb_descriptor_interface_t const * p_interface = &app_tusb_desc_configuration.keyboard_interface;
ASSERT_STATUS( hidd_init(0, p_interface, &length) );
usbd_devices[0].interface2class[p_interface->bInterfaceNumber] = p_interface->bInterfaceClass;
#endif
- #if TUSB_CFG_DEVICE_HID_MOUSE && 0
+ #if TUSB_CFG_DEVICE_HID_MOUSE
ASSERT_STATUS( hidd_init(0, &app_tusb_desc_configuration.mouse_interface, &length) );
#endif