diff --git a/src/os/shared/src/osapi-common.c b/src/os/shared/src/osapi-common.c index 2848228c8..cf6bad493 100644 --- a/src/os/shared/src/osapi-common.c +++ b/src/os/shared/src/osapi-common.c @@ -352,8 +352,6 @@ void OS_DeleteAllObjects(void) } OS_TaskDelay(5); } - while (ObjectCount > 0 && TryCount < 5) - ; } /* end OS_DeleteAllObjects */ /*----------------------------------------------------------------