aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/StateMachines
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-10-08 11:01:57 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-10-08 11:01:57 +0300
commit74c1d6a5f8f905d03abea94a2b5bf5ef1d12eb71 (patch)
treed5a7ce972d8614a4f1e9ffaba83b27d7a7915c86 /Software/Embedded_SW/Embedded/StateMachines
parenta20d25bb885b3ec46d63bda7263fd98faa4095c2 (diff)
downloadTango-74c1d6a5f8f905d03abea94a2b5bf5ef1d12eb71.tar.gz
Tango-74c1d6a5f8f905d03abea94a2b5bf5ef1d12eb71.zip
remove compilation warnings
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines')
-rw-r--r--Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c4
-rw-r--r--Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c
index 57da1574b..604324948 100644
--- a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c
+++ b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerIdle.c
@@ -187,7 +187,7 @@ bool getIdleState (void) {return powerIdleState;}
uint32_t OutOfIdleUpdate(bool last)
{
uint32_t status = NOT_SUPPORTED;
-
+/*
double calculate;
int result = 0;
MessageContainer responseContainer;
@@ -197,7 +197,7 @@ uint32_t OutOfIdleUpdate(bool last)
if (PowerUpToken[0] == 0)
return OK;
-/* response.has_state = true;
+ response.has_state = true;
response.has_progresspercentage = true;
if (last == false)
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c
index 15f363b9a..0a980159d 100644
--- a/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c
+++ b/Software/Embedded_SW/Embedded/StateMachines/Initialization/PowerOffSequence.c
@@ -286,7 +286,7 @@ uint32_t PowerOffWaitForProcessesCallback(uint32_t IfIndex, uint32_t BusyFlag)
}
}
if ((WHS_IsEmptying()||
- //MidTankFillingActive()||
+ IFS_MidTankFilling()||
ThreadLoadingActive()||
SwUpgradeActive()||
(HomingActive == true))&&
@@ -321,7 +321,7 @@ uint32_t PowerOffWaitForProcesses(void)
}
if (WHS_IsEmptying()||
- //MidTankFillingActive()||
+ IFS_MidTankFilling()||
ThreadLoadingActive()||
SwUpgradeActive()||
(HomingActive == true))