pkg/lwip: use blocking sema_wait

This commit is contained in:
Victor Arino 2017-03-06 16:55:02 +01:00 committed by Victor Arino
parent 0e06458f53
commit a4bb7b8d58

View File

@ -88,7 +88,7 @@ u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t count)
return (u32_t)(stop / US_PER_MS); return (u32_t)(stop / US_PER_MS);
} }
else { else {
sema_wait_timed((sema_t *)sem, 0); sema_wait((sema_t *)sem);
return 0; return 0;
} }
} }