diff options
| author | hathach <[email protected]> | 2014-03-14 17:18:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-14 17:18:05 +0700 |
| commit | 4cdebe2e769e52f04ad72992dd9d265372453a18 (patch) | |
| tree | f8852c031d8635c7884c0e51484dbe8d5cea135c /tinyusb/device/dcd.h | |
| parent | b545544c32e4e8212583425b531f711cca6684ff (diff) | |
fix warning for device os none
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 3df43e30d..6baac8c69 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -87,7 +87,7 @@ void dcd_pipe_control_stall(uint8_t coreid); endpoint_handle_t dcd_pipe_open(uint8_t coreid, tusb_descriptor_endpoint_t const * p_endpoint_desc, uint8_t class_code) ATTR_WARN_UNUSED_RESULT;
tusb_error_t dcd_pipe_queue_xfer(endpoint_handle_t edpt_hdl, uint8_t * buffer, uint16_t total_bytes) ATTR_WARN_UNUSED_RESULT; // only queue, not transferring yet
tusb_error_t dcd_pipe_xfer(endpoint_handle_t edpt_hdl, uint8_t * buffer, uint16_t total_bytes, bool int_on_complete) ATTR_WARN_UNUSED_RESULT;
-tusb_error_t dcd_pipe_stall(endpoint_handle_t edpt_hdl) ATTR_WARN_UNUSED_RESULT;
+tusb_error_t dcd_pipe_stall(endpoint_handle_t edpt_hdl);
bool dcd_pipe_is_busy(endpoint_handle_t edpt_hdl) ATTR_WARN_UNUSED_RESULT ;
// TODO coreid + endpoint address are part of endpoint handle, not endpoint handle, data toggle also need to be reset
|
