change dcd_init() return from void to bool

This commit is contained in:
hathach
2024-10-14 19:42:22 +07:00
parent 1f18be93db
commit e83e08343a
36 changed files with 103 additions and 49 deletions

View File

@@ -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) {