From 678bb047ac6e65ab4d3199bf45c3858072702e45 Mon Sep 17 00:00:00 2001 From: RaffaelW Date: Sun, 13 Apr 2025 23:08:51 +0200 Subject: [PATCH] fix previous commit --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 436b0bf..44c64f8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -442,7 +442,7 @@ void loop() officially times out. That amount of time is converted into ESP32 clock ticks using the constant `DMX_TIMEOUT_TICK`. If it takes longer than that amount of time to receive data, this if statement will evaluate to false. */ - if (direction1 == Input) + if (direction1 == Input && dmx_receive(dmx2, &dmx2_packet, DMX_TIMEOUT_TICK)) { // Serial.println("Recv DMX1"); /* If this code gets called, it means we've received DMX data! */