Do no longer disable dmx_input when cache is disabled.
No longer needed because missing ISR_ATTR have been added to esp_dmx.
This commit is contained in:
		| @@ -256,17 +256,6 @@ void WLED::loop() | ||||
|   } | ||||
| #endif | ||||
|  | ||||
| if (doSerializeConfig) | ||||
|   { | ||||
|     #ifdef WLED_ENABLE_DMX_INPUT | ||||
|     dmxInput.disable(); | ||||
|     #endif | ||||
|  | ||||
|     #ifdef WLED_ENABLE_DMX_INPUT | ||||
|     dmxInput.enable(); | ||||
|     #endif | ||||
|   }  | ||||
|  | ||||
|   if (doReboot && (!doInitBusses || !doSerializeConfig)) // if busses have to be inited & saved, wait until next iteration | ||||
|     reset(); | ||||
|  | ||||
| @@ -792,10 +781,6 @@ int8_t WLED::findWiFi(bool doScan) { | ||||
| void WLED::initConnection() | ||||
| { | ||||
|   DEBUG_PRINTF_P(PSTR("initConnection() called @ %lus.\n"), millis()/1000); | ||||
|  | ||||
|   #ifdef WLED_ENABLE_DMX_INPUT | ||||
|   dmxInput.disable(); | ||||
|   #endif | ||||
|   #ifdef WLED_ENABLE_WEBSOCKETS | ||||
|   ws.onEvent(wsEvent); | ||||
|   #endif | ||||
| @@ -824,10 +809,6 @@ void WLED::initConnection() | ||||
|   if (!WLED_WIFI_CONFIGURED) { | ||||
|     DEBUG_PRINTLN(F("No connection configured.")); | ||||
|     if (!apActive) initAP();        // instantly go to ap mode | ||||
|      | ||||
|     #ifdef WLED_ENABLE_DMX_INPUT | ||||
|     dmxInput.enable(); | ||||
|     #endif | ||||
|     return; | ||||
|   } else if (!apActive) { | ||||
|     if (apBehavior == AP_BEHAVIOR_ALWAYS) { | ||||
| @@ -878,10 +859,6 @@ void WLED::initConnection() | ||||
|     statusESPNow = espNowOK ? ESP_NOW_STATE_ON : ESP_NOW_STATE_ERROR; | ||||
|   } | ||||
| #endif | ||||
|  | ||||
|   #ifdef WLED_ENABLE_DMX_INPUT | ||||
|   dmxInput.enable(); | ||||
|   #endif | ||||
| } | ||||
|  | ||||
| void WLED::initInterfaces() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arne
					Arne