fix fuzzing build

This commit is contained in:
hathach
2024-10-11 16:00:51 +07:00
parent d997f0071e
commit f3b7d7515e
8 changed files with 54 additions and 68 deletions

View File

@@ -46,8 +46,8 @@ tu_static State state = {false, 0, 0};
// All no-ops as we are fuzzing.
//--------------------------------------------------------------------+
extern "C" {
void dcd_init(uint8_t rhport) {
UNUSED(rhport);
void dcd_init(const tusb_rhport_init_t* rh_init) {
UNUSED(rh_init);
return;
}