1
0
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:
Harald Barth 2020-09-08 22:15:42 +02:00
parent 7a008938ec
commit d3506583d5
2 changed files with 0 additions and 6 deletions

View File

@ -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
View File

@ -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
}; };