mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Add configCONTROL_INFINITE_LOOP for loop control in unit test (#783)
* Add configCONTROL_INFINITE_LOOP in FreeRTOS.h * Use configCONTROL_INFINITE_LOOP in tasks.c and timer.c --------- Co-authored-by: Soren Ptak <ptaksoren@gmail.com> Co-authored-by: kar-rahul-aws <118818625+kar-rahul-aws@users.noreply.github.com>
This commit is contained in:
parent
97d48ba94a
commit
d442d7908a
3 changed files with 9 additions and 9 deletions
2
timers.c
2
timers.c
|
@ -709,7 +709,7 @@
|
|||
}
|
||||
#endif /* configUSE_DAEMON_TASK_STARTUP_HOOK */
|
||||
|
||||
for( ; ; )
|
||||
for( ; configCONTROL_INFINITE_LOOP(); )
|
||||
{
|
||||
/* Query the timers list to see if it contains any timers, and if so,
|
||||
* obtain the time at which the next timer will expire. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue