mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
drivers/net/slip.c: Fix another compilation error
This commit is contained in:
@@ -136,7 +136,7 @@ int sem_tickwait(FAR sem_t *sem, uint32_t start, uint32_t delay)
|
||||
/* Adjust the delay for any time since the delay was calculated */
|
||||
|
||||
elapsed = clock_systimer() - start;
|
||||
if (elapsed >= (UINT32_MAX / 2) || elapsed >= delay)
|
||||
if (/*elapsed >= (UINT32_MAX / 2) || */ elapsed >= delay)
|
||||
{
|
||||
ret = -ETIMEDOUT;
|
||||
goto errout_with_irqdisabled;
|
||||
|
||||
Reference in New Issue
Block a user