diff options
| author | hathach <[email protected]> | 2013-03-10 19:42:50 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-10 19:42:50 +0700 |
| commit | c1ceec067f0e5a10b891b83a13ca765b673d3e3f (patch) | |
| tree | 1b4626c24aa9112da22bcec384a4473b17c57599 /tinyusb/host/usbh.c | |
| parent | 3b0b48e01ae9ee11aed4e1ade1e413bea3608bd5 (diff) | |
add isr empty function for hidh and msch and usbh
Diffstat (limited to 'tinyusb/host/usbh.c')
| -rw-r--r-- | tinyusb/host/usbh.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 3f18c8eff..c84abbc5d 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -57,12 +57,14 @@ class_driver_t const usbh_class_drivers[TUSB_CLASS_MAX_CONSEC_NUMBER] = { [TUSB_CLASS_HID] = { .init = hidh_init, - .install_subtask = hidh_install_subtask + .install_subtask = hidh_install_subtask, + .isr = hidh_isr }, [TUSB_CLASS_MSC] = { .init = msch_init, - .install_subtask = msch_install_subtask + .install_subtask = msch_install_subtask, + .isr = msch_isr } }; @@ -116,6 +118,11 @@ tusb_error_t usbh_init(void) return TUSB_ERROR_NONE; } +void usbh_isr(pipe_handle_t pipe_hdl, uint8_t class_code) +{ + +} + // function called within a task, requesting os blocking services, subtask input parameter must be static/global variables tusb_error_t usbh_control_xfer_subtask(uint8_t dev_addr, tusb_std_request_t const* p_request, uint8_t* data) { |
