From 2c24bbee17f5e7e53ad43b27c44bebe71e8df72c Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Tue, 2 Aug 2022 01:26:02 +0200 Subject: [PATCH] typo in DIAG --- DCCRMT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DCCRMT.cpp b/DCCRMT.cpp index d29b74b..c6ffb60 100644 --- a/DCCRMT.cpp +++ b/DCCRMT.cpp @@ -143,7 +143,7 @@ RMTChannel::RMTChannel(byte pin, bool isMain) { rmt_register_tx_end_callback(interrupt, 0); rmt_set_tx_intr_en(channel, true); - DIAG(F("Starting channel %d signal generator for %s"), config.channel, isMainTrack ? "MAIN" : "PROG"); + DIAG(F("Starting channel %d signal generator for %s"), config.channel, isMain ? "MAIN" : "PROG"); // send one bit to kickstart the signal, remaining data will come from the // packet queue. We intentionally do not wait for the RMT TX complete here.