change signature usbh_isr to add tusb_bus_event_t parameter
change singature of call_isr as well
This commit is contained in:
@@ -89,7 +89,7 @@ tusb_error_t hidh_keyboard_install(uint8_t dev_addr, uint8_t const *descriptor)
|
||||
//--------------------------------------------------------------------+
|
||||
void hidh_init(void) ATTR_WEAK;
|
||||
tusb_error_t hidh_open_subtask(uint8_t dev_addr, uint8_t const *descriptor, uint16_t *p_length) ATTR_WEAK ATTR_WARN_UNUSED_RESULT;
|
||||
void hidh_isr(pipe_handle_t pipe_hdl) ATTR_WEAK;
|
||||
void hidh_isr(pipe_handle_t pipe_hdl, tusb_bus_event_t event) ATTR_WEAK;
|
||||
void hidh_close(uint8_t dev_addr) ATTR_WEAK;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
void msch_init(void) ATTR_WEAK;
|
||||
tusb_error_t msch_open_subtask(uint8_t dev_addr, uint8_t const *descriptor, uint16_t *p_length) ATTR_WEAK ATTR_WARN_UNUSED_RESULT;
|
||||
void msch_isr(pipe_handle_t pipe_hdl) ATTR_WEAK;
|
||||
void msch_isr(pipe_handle_t pipe_hdl, tusb_bus_event_t event) ATTR_WEAK;
|
||||
void msch_close(uint8_t dev_addr) ATTR_WEAK;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user