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
This commit is contained in:
hathach
2013-06-26 18:00:05 +07:00
parent c7f7bc9808
commit ea2e63a332
14 changed files with 122 additions and 106 deletions

View File

@@ -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