mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 08:06:13 +01:00
remove unused POWER* opcodes
This commit is contained in:
parent
7a008938ec
commit
d3506583d5
4
DCC.cpp
4
DCC.cpp
|
@ -659,10 +659,6 @@ void DCC::ackManagerLoop(bool blocking) {
|
||||||
opcode=pgm_read_byte_near(ackManagerProg);
|
opcode=pgm_read_byte_near(ackManagerProg);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case POWERON:
|
|
||||||
break;
|
|
||||||
case POWEROFF:
|
|
||||||
break;
|
|
||||||
case SKIPTARGET:
|
case SKIPTARGET:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
2
DCC.h
2
DCC.h
|
@ -44,8 +44,6 @@ SETCV, // sets cv number to next prog byte
|
||||||
STASHLOCOID, // keeps current byte value for later
|
STASHLOCOID, // keeps current byte value for later
|
||||||
COMBINELOCOID, // combines current value with stashed value and returns it
|
COMBINELOCOID, // combines current value with stashed value and returns it
|
||||||
ITSKIP, // skip to SKIPTARGET if ack true
|
ITSKIP, // skip to SKIPTARGET if ack true
|
||||||
POWERON, // check if power on prog track is on and remember state
|
|
||||||
POWEROFF, // turn power off again if it was off before POWERON
|
|
||||||
SKIPTARGET=0xFF // jump to target
|
SKIPTARGET=0xFF // jump to target
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user