1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

exchange pin number to track letter part 2

This commit is contained in:
Harald Barth
2023-03-20 21:22:48 +01:00
parent 21c99c8694
commit a75ca00e3c
3 changed files with 5 additions and 2 deletions

View File

@@ -129,6 +129,7 @@ void TrackManager::addTrack(byte t, MotorDriver* driver) {
track[t]=driver;
if (driver) {
track[t]->setPower(POWERMODE::OFF);
track[t]->setTrackLetter('A'+t);
lastTrack=t;
}
}