Skip to content

Commit

Permalink
Don't quit on STOP
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Mar 21, 2024
1 parent 8405810 commit dc0fc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/autopilot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function autopilot()
end

on(viewer.btn_PLAY.clicks) do c; async_play(); end
on(viewer.btn_STOP.clicks) do c; stop(viewer); on_stop(ssc) end
on(viewer.btn_STOP.clicks) do c; on_stop(ssc) end
on(viewer.btn_PARKING.clicks) do c; parking(); end
on(viewer.btn_AUTO.clicks) do c; autopilot(); end

Expand Down

0 comments on commit dc0fc97

Please sign in to comment.