Skip to content

Commit

Permalink
addition of 'sendCommand(String cmd);
Browse files Browse the repository at this point in the history
  • Loading branch information
flash62au committed Mar 25, 2024
1 parent 1518a15 commit d9a6d5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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.13
version=1.1.14
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
1 change: 0 additions & 1 deletion src/WiThrottleProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ void WiThrottleProtocol::setCommandsNeedLeadingCrLf(bool needed) {
commandsNeedLeadingCrLf = needed;
}


bool WiThrottleProtocol::check() {
bool changed = false;
resetChangeFlags();
Expand Down
4 changes: 3 additions & 1 deletion src/WiThrottleProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
/*
Version information:
1.1.14 - addition of 'sendCommand(String cmd);
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
Expand Down Expand Up @@ -181,6 +182,8 @@ class WiThrottleProtocol

bool check();

void sendCommand(String cmd);

//int fastTimeHours();
//int fastTimeMinutes();
double getCurrentFastTime();
Expand Down Expand Up @@ -287,7 +290,6 @@ class WiThrottleProtocol
bool checkFastTime();
bool checkHeartbeat();

void sendCommand(String cmd);
void sendDelayedCommand(String cmd);

void setCurrentFastTime(const String& s);
Expand Down

0 comments on commit d9a6d5e

Please sign in to comment.