diff --git a/src/rtos/tasks.c b/src/rtos/tasks.c index 95a042c77..ec828d542 100644 --- a/src/rtos/tasks.c +++ b/src/rtos/tasks.c @@ -2058,7 +2058,7 @@ uint32_t xTicks; } portTICK_TYPE_EXIT_CRITICAL(); - return xTicks * configTICK_RATE_HZ / 1000; + return xTicks * (configTICK_RATE_HZ / 1000); } /*-----------------------------------------------------------*/