1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 18:03:45 +02:00

revert part of commit 3c725a which did fix bug but reverse direction

This commit is contained in:
Harald Barth
2025-01-20 22:40:43 +01:00
parent 830de850a9
commit b40fa779a6
3 changed files with 4 additions and 4 deletions

View File

@@ -379,7 +379,7 @@
// DCC++ Classic behaviour is that Throw writes a 1 in the packet,
// and Close writes a 0.
// RCN-213 specifies that Throw is 0 and Close is 1.
#if defined(DCC_TURNOUTS_RCN_213)
#ifndef DCC_TURNOUTS_RCN_213
close = !close;
#endif
DCC::setAccessory(_dccTurnoutData.address, _dccTurnoutData.subAddress, close);