diff options
| author | hathach <[email protected]> | 2013-09-28 01:01:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-28 01:01:44 +0700 |
| commit | cb600ed9887224b6e0b4904f66442eef2900fd2d (patch) | |
| tree | 9b9a823caf8ffdbd475594fd97c68d843fcbc501 /tinyusb/host | |
| parent | bfa96ae9dade22ce8773bece9a7d8e39c6a94232 (diff) | |
clean up hid host (temp let test failed)
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/hcd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index 6383015a8..903e0e65e 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -100,7 +100,8 @@ tusb_error_t hcd_pipe_xfer(pipe_handle_t pipe_hdl, uint8_t buffer[], uint16_t t tusb_error_t hcd_pipe_close(pipe_handle_t pipe_hdl) /*ATTR_WARN_UNUSED_RESULT*/; bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl); -bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl); +bool hcd_pipe_is_error(pipe_handle_t pipe_hdl); +bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl); // stalled also counted as error bool hcd_pipe_is_idle(pipe_handle_t pipe_hdl); uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl); tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl); |
