diff --git a/src/main.cpp b/src/main.cpp index c04dc8e..5ec2d45 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -485,8 +485,12 @@ void transmitDmxToArtnet(dmx_port_t dmxPort, byte *dmx_data, uint8_t artnetUnive void loop() { - // check if artnet packet has come and execute callback - artnet.parse(); + // only check for artnet packets if we expect to receive data + if (direction1 == Output || direction2 == Output) + { + // check if artnet packet has come and execute callback + artnet.parse(); + } if (direction1 == Input) {