mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 00:26:13 +01:00
Compare commits
No commits in common. "5f6e18e1e78620ea77a9b3bfe9e1d9dc740a5b8d" and "63702ae64e1d1c9bb3ae0ccab3648edfc51c54ce" have entirely different histories.
5f6e18e1e7
...
63702ae64e
|
@ -1 +1 @@
|
||||||
#define GITHUB_SHA "devel-202402041151Z"
|
#define GITHUB_SHA "devel-202401212011Z"
|
||||||
|
|
|
@ -187,7 +187,6 @@ void WiThrottle::parse(RingStream * stream, byte * cmdx) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'N': // Heartbeat (2), only send if connection completed by 'HU' message
|
case 'N': // Heartbeat (2), only send if connection completed by 'HU' message
|
||||||
sendIntro(stream);
|
|
||||||
StringFormatter::send(stream, F("*%d\n"), heartrateSent ? HEARTBEAT_SECONDS : HEARTBEAT_PRELOAD); // return timeout value
|
StringFormatter::send(stream, F("*%d\n"), heartrateSent ? HEARTBEAT_SECONDS : HEARTBEAT_PRELOAD); // return timeout value
|
||||||
break;
|
break;
|
||||||
case 'M': // multithrottle
|
case 'M': // multithrottle
|
||||||
|
@ -499,8 +498,6 @@ void WiThrottle::getLocoCallback(int16_t locoid) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void WiThrottle::sendIntro(Print* stream) {
|
void WiThrottle::sendIntro(Print* stream) {
|
||||||
if (introSent) // sendIntro only once
|
|
||||||
return;
|
|
||||||
introSent=true;
|
introSent=true;
|
||||||
StringFormatter::send(stream,F("VN2.0\nHTDCC-EX\nRL0\n"));
|
StringFormatter::send(stream,F("VN2.0\nHTDCC-EX\nRL0\n"));
|
||||||
StringFormatter::send(stream,F("HtDCC-EX v%S, %S, %S, %S\n"), F(VERSION), F(ARDUINO_TYPE), DCC::getMotorShieldName(), F(GITHUB_SHA));
|
StringFormatter::send(stream,F("HtDCC-EX v%S, %S, %S, %S\n"), F(VERSION), F(ARDUINO_TYPE), DCC::getMotorShieldName(), F(GITHUB_SHA));
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
default_envs =
|
default_envs =
|
||||||
mega2560
|
mega2560
|
||||||
uno
|
uno
|
||||||
|
mega328
|
||||||
unowifiR2
|
unowifiR2
|
||||||
nano
|
nano
|
||||||
samd21-dev-usb
|
samd21-dev-usb
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
|
|
||||||
#include "StringFormatter.h"
|
#include "StringFormatter.h"
|
||||||
|
|
||||||
#define VERSION "5.2.30"
|
#define VERSION "5.2.29"
|
||||||
// 5.2.40 - Bugfix: WiThrottle sendIntro after initial N message as well
|
|
||||||
// 5.2.29 - Added IO_I2CDFPlayer.h to support DFPLayer over I2C connected to NXP SC16IS750/SC16IS752 (currently only single UART for SC16IS752)
|
// 5.2.29 - Added IO_I2CDFPlayer.h to support DFPLayer over I2C connected to NXP SC16IS750/SC16IS752 (currently only single UART for SC16IS752)
|
||||||
// - Added enhanced IO_I2CDFPLayer enum commands to EXRAIL2.h
|
// - Added enhanced IO_I2CDFPLayer enum commands to EXRAIL2.h
|
||||||
// - Added PLAYSOUND alias of ANOUT to EXRAILMacros.h
|
// - Added PLAYSOUND alias of ANOUT to EXRAILMacros.h
|
||||||
|
|
Loading…
Reference in New Issue
Block a user