mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
Added vApplicationStackOverflowHook()
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@563 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
916f6163fd
commit
724e82712b
@ -156,3 +156,11 @@ void vApplicationIdleHook(void)
|
||||
DebugPinHigh(DEBUG_PIN_IDLE);
|
||||
DebugPinLow(DEBUG_PIN_IDLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Called by the RTOS when a stack overflow is detected.
|
||||
*/
|
||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed portCHAR *pcTaskName )
|
||||
{
|
||||
OnError();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user