summaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-04-03 01:03:21 +0000
committerYuxin Zhou <[email protected]>2021-04-03 01:03:21 +0000
commitb12bd44faaca46dbad4b06cb93a8669c6e36e02a (patch)
tree033f9c24f940f39d8c4b1b40fcd0d388e80bf317 /utility
parent6ffaf848a06ce9dbf8948254ed806ed94ae58305 (diff)
Release 6.1.6v6.1.6_rel
Diffstat (limited to 'utility')
-rw-r--r--utility/low_power/tx_low_power.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/utility/low_power/tx_low_power.c b/utility/low_power/tx_low_power.c
index 18f2d08b..8c9c95bd 100644
--- a/utility/low_power/tx_low_power.c
+++ b/utility/low_power/tx_low_power.c
@@ -41,7 +41,7 @@ UINT tx_low_power_entered;
/* FUNCTION RELEASE */
/* */
/* tx_low_power_enter PORTABLE C */
-/* 6.1.5 */
+/* 6.1.6 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
@@ -76,16 +76,21 @@ UINT tx_low_power_entered;
/* */
/* DATE NAME DESCRIPTION */
/* */
-/* 03-02-2021 William E. Lamie Initial Version 6.1.5 */
+/* 03-02-2021 William E. Lamie Initial Version 6.1.5 */
+/* 04-02-2021 Scott Larson Modified comments and fixed */
+/* compiler warning, */
+/* resulting in version 6.1.6 */
/* */
/**************************************************************************/
VOID tx_low_power_enter(VOID)
{
TX_INTERRUPT_SAVE_AREA
+
+#ifdef TX_LOW_POWER_TIMER_SETUP
ULONG tx_low_power_next_expiration; /* The next timer experation (units of ThreadX timer ticks). */
ULONG timers_active;
-
+#endif
/* Disable interrupts while we prepare for low power mode. */
TX_DISABLE