summaryrefslogtreecommitdiff
path: root/src/portable/template
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-14 19:42:22 +0700
committerhathach <[email protected]>2024-10-14 19:42:22 +0700
commite83e08343afca86b2bacf26822ef9032571e6f56 (patch)
treef7c11374731a6aa9352464f065169d30d28d16c2 /src/portable/template
parent1f18be93db39dbc57bbf34f982dbe07e209a2ae3 (diff)
change dcd_init() return from void to bool
Diffstat (limited to 'src/portable/template')
-rw-r--r--src/portable/template/dcd_template.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/portable/template/dcd_template.c b/src/portable/template/dcd_template.c
index 5ce650844..3738ac0cb 100644
--- a/src/portable/template/dcd_template.c
+++ b/src/portable/template/dcd_template.c
@@ -40,8 +40,9 @@
*------------------------------------------------------------------*/
// Initialize controller to device mode
-void dcd_init(uint8_t rhport, const tusb_rhport_init_t* rh_init) {
+bool dcd_init(uint8_t rhport, const tusb_rhport_init_t* rh_init) {
(void) rhport; (void) rh_init;
+ return true;
}
// Enable device interrupt