Skip to content

Commit 6a44cea

Browse files
committed
tinyusb: add function introduced in 0.18
1 parent bb8d043 commit 6a44cea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cores/arduino/usb/USB.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -455,4 +455,8 @@ extern "C" __attribute((weak)) int32_t tud_msc_scsi_cb (uint8_t lun, uint8_t c
455455
(void) buffer;
456456
(void) bufsize;
457457
return -1;
458-
}
458+
}
459+
460+
extern "C" uint32_t tusb_time_millis_api(void) {
461+
return millis();
462+
}

0 commit comments

Comments
 (0)