diff options
| author | hathach <[email protected]> | 2018-12-07 14:57:58 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-07 14:57:58 +0700 |
| commit | 366ab797769b77dbf353b101ba862b20084dbc02 (patch) | |
| tree | 9b742c44b00412b0d97068d1c0daa573c2c6c338 /src/class/hid/hid_host.h | |
| parent | d524da0c941783887eaea968e5e7f8cb63313451 (diff) | |
able to build host hid
Diffstat (limited to 'src/class/hid/hid_host.h')
| -rw-r--r-- | src/class/hid/hid_host.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/class/hid/hid_host.h b/src/class/hid/hid_host.h index cb0230e8a..7336f5ada 100644 --- a/src/class/hid/hid_host.h +++ b/src/class/hid/hid_host.h @@ -215,10 +215,10 @@ typedef struct { uint8_t interface_number;
}hidh_interface_info_t;
-void hidh_init(void);
-tusb_error_t hidh_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_interface_desc, uint16_t *p_length) ATTR_WARN_UNUSED_RESULT;
-void hidh_isr(pipe_handle_t pipe_hdl, xfer_result_t event, uint32_t xferred_bytes);
-void hidh_close(uint8_t dev_addr);
+void hidh_init(void);
+bool hidh_open_subtask(uint8_t dev_addr, tusb_desc_interface_t const *p_interface_desc, uint16_t *p_length) ATTR_WARN_UNUSED_RESULT;
+void hidh_isr(pipe_handle_t pipe_hdl, xfer_result_t event, uint32_t xferred_bytes);
+void hidh_close(uint8_t dev_addr);
#endif
|
