mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
Output Turnout state change diagnostic if DIAG_IO #defined.
This commit is contained in:
parent
7dea284ba8
commit
40c6bb7f2e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user