summaryrefslogtreecommitdiff
path: root/tinyusb/hal/hal.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-02 15:39:49 +0700
committerhathach <[email protected]>2018-03-02 15:39:49 +0700
commit633f46432ff369be3b52d292736a01c23124f3d1 (patch)
tree842d1e39ac383944f897d088475f06f86326d2df /tinyusb/hal/hal.h
parentdc12e55c568a182ac95e4e7594e0059c1b8f7f4b (diff)
clean up API
Diffstat (limited to 'tinyusb/hal/hal.h')
-rw-r--r--tinyusb/hal/hal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h
index f395c6d23..696c5d423 100644
--- a/tinyusb/hal/hal.h
+++ b/tinyusb/hal/hal.h
@@ -64,10 +64,10 @@ void tusb_isr(uint8_t coreid);
* @{ */
/** \brief Initialize USB controller hardware
- * \returns \ref tusb_error_t type to indicate success or error condition.
+ * \returns true if succeedded
* \note This function is invoked by \ref tusb_init as part of the initialization.
*/
-tusb_error_t hal_init(void);
+bool hal_init(void);
/** \brief Enable USB Interrupt on a specific USB Controller
* \param[in] coreid is a zero-based index to identify USB controller's ID