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:
parent
055bc7bfe2
commit
e3d771a24d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user