Skip to content

Commit f8cb53c

Browse files
committed
Fix overriding delay without an OS
1 parent 5df18c3 commit f8cb53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/max3421e/Max3421E.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ void common_hal_max3421e_max3421e_deinit(max3421e_max3421e_obj_t *self) {
8383
// anyway. Don't run background tasks because this function is used by
8484
// tuh_task() which is run as a background task.
8585
#if CFG_TUSB_OS == OPT_OS_NONE
86-
void osal_task_delay(uint32_t msec) {
86+
void tusb_time_delay_ms_api(uint32_t msec) {
8787
uint32_t end_time = common_hal_time_monotonic_ms() + msec;
8888
while (common_hal_time_monotonic_ms() < end_time) {
8989
if (tuh_callback.prev != NULL) {

0 commit comments

Comments
 (0)