1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 08:06:13 +01:00

Output Turnout state change diagnostic if DIAG_IO #defined.

This commit is contained in:
Neil McKechnie 2021-08-27 21:47:48 +01:00
parent 7dea284ba8
commit 40c6bb7f2e

View File

@ -129,7 +129,7 @@
// type should be placed in the virtual function setClosedInternal(bool) which is // type should be placed in the virtual function setClosedInternal(bool) which is
// called from here. // called from here.
/* static */ bool Turnout::setClosed(uint16_t id, bool closeFlag) { /* static */ bool Turnout::setClosed(uint16_t id, bool closeFlag) {
#ifdef EESTOREDEBUG #if defined(DIAG_IO)
if (closeFlag) if (closeFlag)
DIAG(F("Turnout::close(%d)"), id); DIAG(F("Turnout::close(%d)"), id);
else else