Skip to content

Commit

Permalink
Bug fix for ESTOP
Browse files Browse the repository at this point in the history
  • Loading branch information
flash62au committed Mar 16, 2024
1 parent 31402f5 commit 1518a15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=WiThrottleProtocol
version=1.1.12
version=1.1.13
author=David Zuhn <zoo@statebeltrailway.org>, Luca Dentella <luca@dentella.it>, Peter Akers <akersp62@gmail.com>
maintainer=Peter Akers <akersp62@gmail.com>
sentence=JMRI WiThrottle Protocol implementation
Expand Down
2 changes: 2 additions & 0 deletions src/WiThrottleProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ void WiThrottleProtocol::connect(Stream *stream, int delayBetweenCommandsSent) {
this->stream = stream;

outboundCmdsMininumDelay = delayBetweenCommandsSent;
console->print("connect(): Outbound commands minimum delay: "); console->println(outboundCmdsMininumDelay);
}

void WiThrottleProtocol::disconnect() {
Expand Down Expand Up @@ -1373,6 +1374,7 @@ void WiThrottleProtocol::emergencyStop(char multiThrottle) {
}

void WiThrottleProtocol::emergencyStop(char multiThrottle, String address) {
setSpeed(multiThrottle,0);
String cmd = "M" + String(multiThrottle) + "A" + address;
cmd.concat(PROPERTY_SEPARATOR);
cmd.concat("X");
Expand Down
1 change: 1 addition & 0 deletions src/WiThrottleProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
/*
Version information:
1.1.13 - Bug fix for ESTOP
1.1.12 - Add support for broadcast messages and alerts
1.1.11 - Change to the fix for the _wifiTrax WFD-30, so that leading CR+LF is always sent
- Removal of setSpeedCommandShouldBeSenttwice(bool twice)
Expand Down

0 comments on commit 1518a15

Please sign in to comment.