From c7c9159a99fcb7ad9ce37a865a71272669c35412 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Mon, 31 Mar 2025 23:32:31 +0200 Subject: [PATCH] diag onoff as well --- DCC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DCC.cpp b/DCC.cpp index a5eafec..0f28991 100644 --- a/DCC.cpp +++ b/DCC.cpp @@ -289,7 +289,7 @@ void DCC::setAccessory(int address, byte port, bool gate, byte onoff /*= 2*/) { // the initial decoders were orgnized and that influenced how the DCC // standard was made. #ifdef DIAG_IO - DIAG(F("DCC::setAccessory(%d,%d,%d)"), address, port, gate); + DIAG(F("DCC::setAccessory(%d,%d,%d,%d)"), address, port, gate, onoff); #endif // use masks to detect wrong values and do nothing if(address != (address & 511))