aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/StateMachines/Initialization
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2021-01-06 13:58:41 +0200
committerShlomo Hecht <shlomo@twine-s.com>2021-01-06 13:58:41 +0200
commitb9a85d61fcb3186754d24ea38268143fd3f47f4c (patch)
treeb90b62de5d67fbbbd56722b8a6138ab5a105c563 /Software/Embedded_SW/Embedded/StateMachines/Initialization
parent45aded1213ff37e679449a52a3028c6565af7303 (diff)
downloadTango-b9a85d61fcb3186754d24ea38268143fd3f47f4c.tar.gz
Tango-b9a85d61fcb3186754d24ea38268143fd3f47f4c.zip
fix bug in pre-run PBU, and in dispensers 25%. 50% indications
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines/Initialization')
-rw-r--r--Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c b/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c
index 06dac8fdc..7f1b9ffb5 100644
--- a/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c
+++ b/Software/Embedded_SW/Embedded/StateMachines/Initialization/InitSequence.c
@@ -783,14 +783,13 @@ uint32_t PowerUpUpdate(MACHINE_STATE_STAGES_ENUM stage)
case MACHINE_STATE_BUILT_IN_FAILED:
response.state = POWER_UP_STATE__BuiltInTest;
response.progresspercentage = 15.0;
- response.message = "Built In Test";
+ response.message = "Built In Test failed";
+ Error = ERROR_CODE__POWER_UP_BUILT_IN_FAILED;
break;
case MACHINE_STATE_BUILT_IN_TEST:
response.state = POWER_UP_STATE__BuiltInTest;
response.progresspercentage = 15.0;
response.message = "Built In Test";
- //response.message = "Built In Test failed";
- //Error = ERROR_CODE__POWER_UP_BUILT_IN_FAILED;
break;
case MACHINE_STATE_INITIAL_BLOWER_ACTIVATION:
response.state = POWER_UP_STATE__InitialBlowerActivation;