aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-10-27 23:56:07 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-10-27 23:56:07 +0200
commit9cb2c024526e3690ac4b423beb876622a8106af1 (patch)
treea05a3b4afa9e02710d96e3b4fdb2716c0f48b91f /Software/Embedded_SW/Embedded/Modules/Control
parent5b1c16dcdbe60693495179cd6034df8076b6a033 (diff)
downloadTango-9cb2c024526e3690ac4b423beb876622a8106af1.tar.gz
Tango-9cb2c024526e3690ac4b423beb876622a8106af1.zip
job error messages
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c
index 2047e9910..ce4a91465 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/control.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c
@@ -190,6 +190,7 @@ uint32_t ControlActivityLed( uint32_t Parameter1)
if (JobIsActive())
{
JobEndReason = JOB_MOTOR_ALARM;
+ usnprintf(AlarmReasonStr, 100, "Hardware Failure Error");
SendJobProgress(0.0,0,false, "Hardware Failure Error");
AbortJob("FPGA Watchdog Error");
}