Browse Source

pkg/lwip: use blocking sema_wait

pr/rotary
Victor Arino 6 years ago committed by Victor Arino
parent
commit
a4bb7b8d58
  1. 2
      pkg/lwip/contrib/sys_arch.c

2
pkg/lwip/contrib/sys_arch.c

@ -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…
Cancel
Save