1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 13:21:23 +01:00

set default pullup in EXRAIL begin code

This commit is contained in:
Harald Barth 2021-11-06 21:57:06 +01:00
parent 055bc7bfe2
commit e3d771a24d

View File

@ -66,6 +66,14 @@ byte RMFT2::flags[MAX_FLAGS];
byte opcode=GET_OPCODE;
if (opcode==OPCODE_ENDEXRAIL) break;
switch (opcode) {
case OPCODE_AT:
case OPCODE_AFTER:
case OPCODE_IF:
case OPCODE_IFNOT:
IODevice::configureInput((VPIN)GET_OPERAND(0),true);
}
if (opcode==OPCODE_SIGNAL) {
VPIN red=GET_OPERAND(0);
VPIN amber=GET_OPERAND(1);