diff options
| -rw-r--r-- | cc3200/misc/FreeRTOSHooks.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cc3200/misc/FreeRTOSHooks.c b/cc3200/misc/FreeRTOSHooks.c index a31edccf0..24971453c 100644 --- a/cc3200/misc/FreeRTOSHooks.c +++ b/cc3200/misc/FreeRTOSHooks.c @@ -70,10 +70,7 @@ void vApplicationMallocFailedHook (void) __asm volatile ("bkpt #0 \n"); #endif - for ( ; ; ) - { - __fatal_error("FreeRTOS malloc failed!"); - } + __fatal_error("FreeRTOS malloc failed!"); } //***************************************************************************** @@ -92,10 +89,7 @@ void vApplicationStackOverflowHook (OsiTaskHandle *pxTask, signed char *pcTaskNa __asm volatile ("bkpt #0 \n"); #endif - for ( ; ; ) - { - __fatal_error("Stack overflow!"); - } + __fatal_error("Stack overflow!"); } //***************************************************************************** |
