Skip to content

Commit

Permalink
Remove special_train_dir refs from standard board
Browse files Browse the repository at this point in the history
  • Loading branch information
LArkema committed Mar 24, 2024
1 parent 6229593 commit 058199e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DCTransistor/DCTransistor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ void loop() {
special_train_id = trainID;
special_train_index = res;
special_train_line = cur_train_line;
special_train_dir = train_dir-1;
break;
}
}
Expand Down Expand Up @@ -382,7 +381,7 @@ void loop() {

#ifdef PRINT
Serial.printf("Setting special train LED\n");
Serial.printf("Train ID: %d; Train Index: %d; Train Dir: %d\n", special_train_id, special_train_index, special_train_dir);
Serial.printf("Train ID: %d; Train Index: %d;\n", special_train_id, special_train_index);
#endif

if(special_train_line != NULL){
Expand Down

0 comments on commit 058199e

Please sign in to comment.