summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/hcd.c4
-rw-r--r--tinyusb/host/hcd.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/tinyusb/host/hcd.c b/tinyusb/host/hcd.c
index 28fe7008f..0fb6e68df 100644
--- a/tinyusb/host/hcd.c
+++ b/tinyusb/host/hcd.c
@@ -39,10 +39,10 @@
#ifdef TUSB_CFG_HOST
-TUSB_Error_t hcd_init(uint8_t coreid)
+tusb_error_t hcd_init(uint8_t coreid)
{
- return tERROR_NONE;
+ return TUSB_ERROR_NONE;
}
#endif
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h
index 2bb667057..1e5b338ae 100644
--- a/tinyusb/host/hcd.h
+++ b/tinyusb/host/hcd.h
@@ -66,15 +66,15 @@
* \note
*/
-TUSB_Error_t hcd_init(uint8_t hostid) ATTR_WARN_UNUSED_RESULT;
+tusb_error_t hcd_init(uint8_t hostid) ATTR_WARN_UNUSED_RESULT;
-//TUSB_Error_t hcd_pipe_open(
+//tusb_error_t hcd_pipe_open(
// uint8_t hostid, uint8_t device_address,
//
// )ATTR_WARN_UNUSED_RESULT;
-TUSB_Error_t hcd_pipe_close()ATTR_WARN_UNUSED_RESULT;
-TUSB_Error_t hcd_pipe_transfer()ATTR_WARN_UNUSED_RESULT;
-TUSB_Error_t hcd_pipe_cancel()ATTR_WARN_UNUSED_RESULT;
+tusb_error_t hcd_pipe_close()ATTR_WARN_UNUSED_RESULT;
+tusb_error_t hcd_pipe_transfer()ATTR_WARN_UNUSED_RESULT;
+tusb_error_t hcd_pipe_cancel()ATTR_WARN_UNUSED_RESULT;
#ifdef __cplusplus
}