Skip to content

Commit 2db106f

Browse files
facchinmpennam
authored andcommitted
tinyusb: add function introduced in 0.18
1 parent 241ccf8 commit 2db106f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: 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)