From 212bf8d80e34c7b3e96e0925dc43911df3fc2212 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sun, 29 Jan 2023 08:13:52 +0100 Subject: [PATCH] Broadcast power for again --- DCCEXParser.cpp | 1 + GITHUB_SHA.h | 2 +- version.h | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/DCCEXParser.cpp b/DCCEXParser.cpp index 4070049..ef11763 100644 --- a/DCCEXParser.cpp +++ b/DCCEXParser.cpp @@ -510,6 +510,7 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream) case 's': // StringFormatter::send(stream, F("\n"), F(VERSION), F(ARDUINO_TYPE), DCC::getMotorShieldName(), F(GITHUB_SHA)); + CommandDistributor::broadcastPower(); // is the only "get power status" command we have Turnout::printAll(stream); //send all Turnout states Output::printAll(stream); //send all Output states Sensor::printAll(stream); //send all Sensor states diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 6b17a12..dc9ffe9 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202301281808Z" +#define GITHUB_SHA "devel-202301290713Z" diff --git a/version.h b/version.h index 10f11f9..0ad586f 100644 --- a/version.h +++ b/version.h @@ -4,7 +4,8 @@ #include "StringFormatter.h" -#define VERSION "4.2.12pre2" +#define VERSION "4.2.13" +// 4.2.13 Broadcast power for again // 4.2.12 Bugfix for issue #299 TurnoutDescription NULL // 4.2.11 Exrail IFLOCO feature added // 4.2.10 SIGNAL/SIGNALH bug fix as they were inverted