summaryrefslogtreecommitdiff
path: root/common/src/tx_timer_performance_system_info_get.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
committerYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
commit1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c (patch)
tree93e4f4d64ec8c21c01b77f19b8e7326e85227e3d /common/src/tx_timer_performance_system_info_get.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/tx_timer_performance_system_info_get.c')
-rw-r--r--common/src/tx_timer_performance_system_info_get.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/common/src/tx_timer_performance_system_info_get.c b/common/src/tx_timer_performance_system_info_get.c
index 498cee30..443c10c3 100644
--- a/common/src/tx_timer_performance_system_info_get.c
+++ b/common/src/tx_timer_performance_system_info_get.c
@@ -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;
}