mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 15:46:14 +01:00
No EEPROM so you do not need this
This commit is contained in:
parent
6d802f3a73
commit
df7b890758
|
@ -250,6 +250,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tt = (Turnout *)new ServoTurnout(id, vpin, thrownPosition, closedPosition, profile, closed);
|
tt = (Turnout *)new ServoTurnout(id, vpin, thrownPosition, closedPosition, profile, closed);
|
||||||
|
DIAG(F("Turnout 0x%x size %d size %d"), tt, sizeof(Turnout),sizeof(struct TurnoutData));
|
||||||
IODevice::writeAnalogue(vpin, closed ? closedPosition : thrownPosition, PCA9685::Instant);
|
IODevice::writeAnalogue(vpin, closed ? closedPosition : thrownPosition, PCA9685::Instant);
|
||||||
return tt;
|
return tt;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user