DCC-EX / CommandStation-EX

EX-CommandStation firmware from DCC-EX. Includes support for WiFi and a standalone WiThrottle server. A complete re-write of the original DCC++.
https://dcc-ex.github.io/
GNU General Public License v3.0
155 stars 107 forks source link

Adjust forget commands to respect the direction of engines #242

Open nic547 opened 2 years ago

nic547 commented 2 years ago

Replaces #23, targeting the TrackManager branch instead of master, to get into the next major update, not a minor one.

Currently forgetting an engine that is still on the track (for example on a siding) will cause it to get a "backwards e-stop", potentially changing it's direction. With this PR, the CS should send the e-stop packets with the correct direction.