1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-22 23:56:13 +01:00
This commit is contained in:
Gregor Baues 2021-04-27 17:01:21 +02:00
parent a6a36b50e3
commit da85e4e245
2 changed files with 6 additions and 1 deletions

View File

@ -56,7 +56,7 @@ const int16_t HASH_KEYWORD_LCN = 15137;
const int16_t HASH_KEYWORD_RESET = 26133;
const int16_t HASH_KEYWORD_SPEED28 = -17064;
const int16_t HASH_KEYWORD_SPEED128 = 25816;
const int16_t HASH_KEYWORD_MQTT = 11111;
const int16_t HASH_KEYWORD_MQTT = 28220;
int16_t DCCEXParser::stashP[MAX_COMMAND_PARAMS];
bool DCCEXParser::stashBusy;
@ -803,6 +803,10 @@ bool DCCEXParser::parseD(Print *stream, int16_t params, int16_t p[])
StringFormatter::send(stream, F("128 Speedsteps"));
return true;
case HASH_KEYWORD_MQTT: // <D LCN ON/OFF>
Diag::MQTT = onOff;
return true;
default: // invalid/unknown
break;
}

View File

@ -34,6 +34,7 @@ class Diag {
static bool WITHROTTLE;
static bool ETHERNET;
static bool LCN;
static bool MQTT;
};