summaryrefslogtreecommitdiff
path: root/test/fuzz
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 /test/fuzz
parent1f18be93db39dbc57bbf34f982dbe07e209a2ae3 (diff)
change dcd_init() return from void to bool
Diffstat (limited to 'test/fuzz')
-rw-r--r--test/fuzz/dcd_fuzz.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzz/dcd_fuzz.cc b/test/fuzz/dcd_fuzz.cc
index e76ae5087..046a90555 100644
--- a/test/fuzz/dcd_fuzz.cc
+++ b/test/fuzz/dcd_fuzz.cc
@@ -46,10 +46,10 @@ tu_static State state = {false, 0, 0};
// All no-ops as we are fuzzing.
//--------------------------------------------------------------------+
extern "C" {
-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) {
UNUSED(rhport);
UNUSED(rh_init);
- return;
+ return true;
}
void dcd_int_handler(uint8_t rhport) {