Browse Source

cc3200: Remove unneeded loops in the FreeRTOS hooks.

pull/1421/merge
Daniel Campora 9 years ago
parent
commit
9249242119
  1. 10
      cc3200/misc/FreeRTOSHooks.c

10
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!");
}
//*****************************************************************************

Loading…
Cancel
Save