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

Consist version.

This commit is contained in:
Asbelos
2024-04-06 23:49:26 +01:00
parent 3317b4666e
commit 182479c07b
3 changed files with 5 additions and 3 deletions

View File

@@ -703,7 +703,7 @@ void DCC::setLocoId(int id,ACK_CALLBACK callback) {
}
void DCC::setConsistId(int id,bool reverse,ACK_CALLBACK callback) {
if (id<1 || id>10239) { //0x27FF according to standard
if (id<0 || id>10239) { //0x27FF according to standard
callback(-1);
return;
}