Skip to content

Commit

Permalink
Remove whitespaces
Browse files Browse the repository at this point in the history
Remove whitespaces that were breaking the tests
  • Loading branch information
LeandroMartinsdS authored and UrszulaNeuman committed Sep 4, 2024
1 parent b56d06c commit 42230cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pmac_motorhome/snippets/power/jog_if_on_limit.pmc.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// Wait for the move to complete
CALL DelayTimer.msec(20)
Sys.CdTimer[{{plc.plc_num}}]={{ plc.timeout}} // Now start checking the conditions
while (({{ group.in_pos(operator="&& ", relOperator="==", value=0) }}) && ({{ group.following_err(relOperator="==", value=0) }}) && ({{ group.limits(relOperator="==", value=0) }}) && (Sys.CdTimer[{{plc.plc_num}}] > 0) && (PLC{{plc.plc_num}}_HomingStatus == PLC{{plc.plc_num}}_StatusHoming || PLC{{plc.plc_num}}_HomingStatus == PLC{{plc.plc_num}}_StatusDebugHoming)){
while (({{ group.in_pos(operator="&& ", relOperator="==", value=0) }}) && ({{ group.following_err(relOperator="==", value=0) }}) && ({{ group.limits(relOperator="==", value=0) }}) && (Sys.CdTimer[{{plc.plc_num}}] > 0) && (PLC{{plc.plc_num}}_HomingStatus == PLC{{plc.plc_num}}_StatusHoming || PLC{{plc.plc_num}}_HomingStatus == PLC{{plc.plc_num}}_StatusDebugHoming)){
}
// Check why we left the while loop
if ({{ group.following_err(relOperator="!=", value=0) }}){ // Following error check failed
Expand Down
2 changes: 1 addition & 1 deletion pmac_motorhome/snippets/power/plc.pmc.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PLC{{plc.plc_num}}_HomingGroup = 0
#define PLC{{plc.plc_num}}_HomingBackupGroup P{{plc.plc_num}}03
PLC{{plc.plc_num}}_HomingBackupGroup = 0

open plc {{ plc.plc_num }}
open plc {{ plc.plc_num }}

if (PLC{{plc.plc_num}}_HomingStatus != PLC{{plc.plc_num}}_StatusHoming && PLC{{plc.plc_num}}_HomingStatus != PLC{{plc.plc_num}}_StatusDebugHoming){
PLC{{plc.plc_num}}_HomingStatus = PLC{{plc.plc_num}}_StatusHoming
Expand Down

0 comments on commit 42230cb

Please sign in to comment.