1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 21:01:25 +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
// called from here.
/* static */ bool Turnout::setClosed(uint16_t id, bool closeFlag) {
#ifdef EESTOREDEBUG
#if defined(DIAG_IO)
if (closeFlag)
DIAG(F("Turnout::close(%d)"), id);
else