diff options
| author | hathach <[email protected]> | 2018-12-12 00:13:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-12 00:13:48 +0700 |
| commit | def20ce35b1684c49d229b87dab36d2a6cb418dd (patch) | |
| tree | b64dfc4fe2ae972d22d88847ce404e8bae188601 /src/host/hcd.h | |
| parent | 67d6d753d66ffb821e9cfc4831d44f6b2f8549b8 (diff) | |
clean up ehci warnings
Diffstat (limited to 'src/host/hcd.h')
| -rw-r--r-- | src/host/hcd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h index fb0612ed8..1496d462a 100644 --- a/src/host/hcd.h +++ b/src/host/hcd.h @@ -104,9 +104,9 @@ void hcd_int_disable(uint8_t rhport); // PORT API
/// return the current connect status of roothub port
-bool hcd_port_connect_status(uint8_t hostid) ATTR_PURE ATTR_WARN_UNUSED_RESULT; // TODO make inline if possible
+bool hcd_port_connect_status(uint8_t hostid);
void hcd_port_reset(uint8_t hostid);
-tusb_speed_t hcd_port_speed_get(uint8_t hostid) ATTR_PURE ATTR_WARN_UNUSED_RESULT; // TODO make inline if possible
+tusb_speed_t hcd_port_speed_get(uint8_t hostid);
// HCD closs all opened endpoints belong to this device
void hcd_device_remove(uint8_t rhport, uint8_t dev_addr);
|
