mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
Fix ESP32 cast issue
This commit is contained in:
parent
d2d7a5cd16
commit
1c5f299b0e
@ -332,7 +332,7 @@ void RMFT2::setTurntableHiddenState(Turntable * tto) {
|
||||
char RMFT2::getRouteType(int16_t id) {
|
||||
int16_t progCounter=routeLookup->find(id);
|
||||
if (progCounter>=0) {
|
||||
OPCODE type=GET_OPCODE;
|
||||
byte type=GET_OPCODE;
|
||||
if (type==OPCODE_ROUTE) return 'R';
|
||||
if (type==OPCODE_AUTOMATION) return 'A';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user