     @section  HISTORY
 
     v1.0 - First release
+    v1.1 - Improve multi-task compatibility
 
 */
 /**************************************************************************/

void checkInput(LXDMXWiFi* interface, WiFiUDP* iUDP, uint8_t multicast) {
  if ( got_dmx ) {
    interface->setNumberOfSlots(got_dmx);			// set slots & copy to interface
    for (int i = 1; i <= got_dmx; i++) {
      interface->setSlot(i, ESP32DMX.getSlot(i));
    }
    if ( multicast ) {
      interface->sendDMX(iUDP, DMXWiFiConfig.inputAddress(), WiFi.localIP());
    } else {

  }
  //digitalWrite(DEBUG_PIN_C, HIGH);
  vTaskDelay(1);
  
}// loop()

