diff options
| author | hathach <[email protected]> | 2013-09-24 18:23:34 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-24 18:23:34 +0700 |
| commit | bbfa85aa08d19f57f6e1c8bb0040839e38d9a01c (patch) | |
| tree | b79eac25722edca6eca467ae62b2506add73f7d7 /tinyusb/osal/osal_none.h | |
| parent | 63b776f7cf3bb7fe64c2f3b3e383a90b2c50683f (diff) | |
allow a limited model to deal with stalled pipe/transaction
added stall clear & able to mount the stupid toshiba thumb drive
add HCD pipe API
- bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl);
- bool hcd_pipe_is_stalled(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);
remove tusbh_device_mount_failed_cb (not neccessary for user)
Diffstat (limited to 'tinyusb/osal/osal_none.h')
| -rw-r--r-- | tinyusb/osal/osal_none.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h index 853f33e67..775febc3f 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -58,6 +58,9 @@ extern "C" { #endif +// variable that retains value after OSAL blocking service need to declare with OSAL_VAR +#define OSAL_VAR static + //--------------------------------------------------------------------+ // TICK API //--------------------------------------------------------------------+ |
