aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/General
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-03-08 14:23:47 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-03-08 14:23:47 +0200
commit1af84e3da709be4690ef561e4865097d4e9332a7 (patch)
tree07511123854b0481ddc8ee912a8273aef66a8ee0 /Software/Embedded_SW/Embedded/Modules/General
parent0bafe1c34cb056a80b64d6a03c0dcf0fc921adca (diff)
downloadTango-1af84e3da709be4690ef561e4865097d4e9332a7.tar.gz
Tango-1af84e3da709be4690ef561e4865097d4e9332a7.zip
fix error reporting in powerbuff
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/General')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/General/GeneralHardware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/General/GeneralHardware.c b/Software/Embedded_SW/Embedded/Modules/General/GeneralHardware.c
index 6297299de..618d4569c 100644
--- a/Software/Embedded_SW/Embedded/Modules/General/GeneralHardware.c
+++ b/Software/Embedded_SW/Embedded/Modules/General/GeneralHardware.c
@@ -649,6 +649,7 @@ uint32_t HWConfigurationFunc(MessageContainer* requestContainer)
responseContainer = createContainer(MESSAGE_TYPE__UploadHardwareConfigurationResponse, requestContainer->token, true, &response, &upload_hardware_configuration_response__pack, &upload_hardware_configuration_response__get_packed_size);
if (status!= OK)
{
+ responseContainer.has_error = true;
responseContainer.error = ERROR_CODE__INVALID_PARAMETER;
responseContainer.errormessage = "JOb Active or incorrect parameters";
}