1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/lwip: fix typo (semaphor => semaphore)

This commit is contained in:
Alexandre Abadie 2021-01-07 22:23:53 +01:00
parent ac9d8e603e
commit f4523140f1
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -75,13 +75,13 @@ void sys_sem_free(sys_sem_t *sem)
void sys_sem_signal(sys_sem_t *sem)
{
LWIP_ASSERT("invalid semaphor", sys_sem_valid(sem));
LWIP_ASSERT("invalid semaphore", sys_sem_valid(sem));
sema_post((sema_t *)sem);
}
u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t count)
{
LWIP_ASSERT("invalid semaphor", sys_sem_valid(sem));
LWIP_ASSERT("invalid semaphore", sys_sem_valid(sem));
if (count != 0) {
uint64_t stop, start;
start = xtimer_now_usec64();