Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Remove mistake from main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tordnat committed Mar 12, 2024
1 parent abdc354 commit 75384db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ func main() {
for elevio.GetObstruction() {
elevio.SetDoorOpenLamp(true)
}
elevio.MotorDirection(elevio.MD_Down)
for elevio.GetFloor() == -1 {
}
elevio.SetDoorOpenLamp(false)

go fsm.FSM(orderAssignment, orderCompleted, floorEvent, obstructionEvent, elevStateFromFSM)
Expand Down

0 comments on commit 75384db

Please sign in to comment.