mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-07-28 18:03:45 +02:00
<A> to EXRAIL DCCX_SIGNAL intercept
This commit is contained in:
@@ -390,6 +390,12 @@ void DCCEXParser::parseOne(Print *stream, byte *com, RingStream * ringStream)
|
||||
if (params!=2) break;
|
||||
if (p[0] != (p[0] & 0x7F)) break;
|
||||
if (p[1] != (p[1] & 0x1F)) break;
|
||||
#ifdef EXRAIL_ACTIVE
|
||||
// Ask exrail if this is just changing the aspect on a
|
||||
// predefined DCCX_SIGNAL. Because this will handle all
|
||||
// the IFRED and ONRED type issues at the same time.
|
||||
if (RMFT2::signalAspectEvent(p[0],p[1])) return;
|
||||
#endif
|
||||
DCC::setExtendedAccessory(p[0],p[1],3);
|
||||
}
|
||||
return;
|
||||
|
Reference in New Issue
Block a user