Add the pcTimerGetTimerName() API function.

This commit is contained in:
Richard Barry 2014-03-28 14:41:15 +00:00
parent 887fcd04f4
commit ef7f3c5320
4 changed files with 21 additions and 13 deletions

View file

@ -363,6 +363,14 @@ DaemonTaskMessage_t xMessage;
#endif
/*-----------------------------------------------------------*/
const char * const pcTimerGetTimerName( TimerHandle_t xTimer )
{
Timer_t *pxTimer = ( Timer_t * ) xTimer;
return pxTimer->pcTimerName;
}
/*-----------------------------------------------------------*/
static void prvProcessExpiredTimer( const TickType_t xNextExpireTime, const TickType_t xTimeNow )
{
BaseType_t xResult;