mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
estop all locos in list, even last one
This commit is contained in:
parent
6781e44fdd
commit
6d802f3a73
2
DCC.cpp
2
DCC.cpp
|
@ -693,7 +693,7 @@ void DCC::updateLocoReminder(int loco, byte speedCode) {
|
|||
|
||||
if (loco==0) {
|
||||
// broadcast stop/estop but dont change direction
|
||||
for (int reg = 0; reg < highestUsedReg; reg++) {
|
||||
for (int reg = 0; reg <= highestUsedReg; reg++) {
|
||||
if (speedTable[reg].loco==0) continue;
|
||||
byte newspeed=(speedTable[reg].speedCode & 0x80) | (speedCode & 0x7f);
|
||||
if (speedTable[reg].speedCode != newspeed) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
#define GITHUB_SHA "devel-202304172140Z"
|
||||
#define GITHUB_SHA "devel-202305051413Z"
|
||||
|
|
Loading…
Reference in New Issue
Block a user