Release 6.1.9
This commit is contained in:
@@ -101,35 +101,35 @@ TX_INTERRUPT_SAVE_AREA
|
||||
/* Retrieve the total number of timer activations. */
|
||||
if (activates != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
*activates = _tx_timer_performance_activate_count;
|
||||
}
|
||||
|
||||
/* Retrieve the total number of timer reactivations. */
|
||||
if (reactivates != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
*reactivates = _tx_timer_performance_reactivate_count;
|
||||
}
|
||||
|
||||
/* Retrieve the total number of timer deactivations. */
|
||||
if (deactivates != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
*deactivates = _tx_timer_performance_deactivate_count;
|
||||
}
|
||||
|
||||
/* Retrieve the total number of timer expirations. */
|
||||
if (expirations != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
*expirations = _tx_timer_performance_expiration_count;
|
||||
}
|
||||
|
||||
/* Retrieve the total number of timer expiration adjustments. */
|
||||
if (expiration_adjusts != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
*expiration_adjusts = _tx_timer_performance__expiration_adjust_count;
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ TX_INTERRUPT_SAVE_AREA
|
||||
|
||||
/* Return completion status. */
|
||||
return(TX_SUCCESS);
|
||||
|
||||
|
||||
#else
|
||||
|
||||
UINT status;
|
||||
@@ -147,37 +147,37 @@ UINT status;
|
||||
/* Access input arguments just for the sake of lint, MISRA, etc. */
|
||||
if (activates != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
/* Not enabled, return error. */
|
||||
status = TX_FEATURE_NOT_ENABLED;
|
||||
}
|
||||
else if (reactivates != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
/* Not enabled, return error. */
|
||||
status = TX_FEATURE_NOT_ENABLED;
|
||||
}
|
||||
else if (deactivates != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
/* Not enabled, return error. */
|
||||
status = TX_FEATURE_NOT_ENABLED;
|
||||
}
|
||||
else if (expirations != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
/* Not enabled, return error. */
|
||||
status = TX_FEATURE_NOT_ENABLED;
|
||||
}
|
||||
else if (expiration_adjusts != TX_NULL)
|
||||
{
|
||||
|
||||
|
||||
/* Not enabled, return error. */
|
||||
status = TX_FEATURE_NOT_ENABLED;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
/* Not enabled, return error. */
|
||||
status = TX_FEATURE_NOT_ENABLED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user