From df7b8907580f291732904ea1bb02a555953a42fe Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sun, 7 May 2023 23:58:47 +0200 Subject: [PATCH] No EEPROM so you do not need this --- Turnouts.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Turnouts.cpp b/Turnouts.cpp index e8f55af..83603fc 100644 --- a/Turnouts.cpp +++ b/Turnouts.cpp @@ -250,6 +250,7 @@ } } 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); return tt; #else