pkg/lwip: use blocking sema_wait
This commit is contained in:
parent
0e06458f53
commit
a4bb7b8d58
@ -88,7 +88,7 @@ u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t count)
|
||||
return (u32_t)(stop / US_PER_MS);
|
||||
}
|
||||
else {
|
||||
sema_wait_timed((sema_t *)sem, 0);
|
||||
sema_wait((sema_t *)sem);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user