From 7151024a77daca3a9f37b6bdedc655693ef2f629 Mon Sep 17 00:00:00 2001 From: Ronen Sberlo Date: Mon, 14 Sep 2020 13:31:20 +0300 Subject: fix --- Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded/Modules') diff --git a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c index 9eba08678..4faf5a392 100644 --- a/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c +++ b/Software/Embedded_SW/Embedded/Modules/Diagnostics/DiagnosticsHoming.c @@ -474,7 +474,7 @@ uint32_t Diagnostics_Set_Load_Arm_To_Stopper_Callback(uint32_t deviceID, uint32_ angle = Calculate_Arm_Distance(D_DrierPrevLocation,temp); - if ((angle<14000 )||(ReadValue == BUSY)) // OK - take another round + if ((angle<14000 )||(BusyFlag == BUSY)) // OK - take another round { responseContainer.has_error = true; responseContainer.error = ERROR_CODE__GENERAL_ERROR; -- cgit v1.3.1