1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

typo in DIAG

This commit is contained in:
Harald Barth 2022-08-02 01:26:02 +02:00
parent b09dba1213
commit 2c24bbee17

View File

@ -143,7 +143,7 @@ RMTChannel::RMTChannel(byte pin, bool isMain) {
rmt_register_tx_end_callback(interrupt, 0); rmt_register_tx_end_callback(interrupt, 0);
rmt_set_tx_intr_en(channel, true); 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 // 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. // packet queue. We intentionally do not wait for the RMT TX complete here.