diff --git a/wled00/dmx_output.cpp b/wled00/dmx_output.cpp index 6f2b9d3343..6c5cc2f416 100644 --- a/wled00/dmx_output.cpp +++ b/wled00/dmx_output.cpp @@ -82,7 +82,7 @@ void handleDMXOutput() dmx.update(); // update the DMX bus } -void initDMX() { +void initDMXOutput() { #ifdef ESP8266 dmx.init(512); // initialize with bus length #else @@ -90,6 +90,6 @@ void initDMX() { #endif } #else -void initDMX(){} +void initDMXOutput(){} void handleDMXOutput() {} #endif \ No newline at end of file diff --git a/wled00/fcn_declare.h b/wled00/fcn_declare.h index 45b1663564..52376bf79d 100644 --- a/wled00/fcn_declare.h +++ b/wled00/fcn_declare.h @@ -69,8 +69,8 @@ uint8_t __attribute__((pure)) gamma8(uint8_t b); uint32_t __attribute__((pure)) gamma32(uint32_t); // WLEDMM: added attribute pure uint8_t unGamma8(uint8_t value); // WLEDMM revert gamma correction -//dmx.cpp -void initDMX(); +//dmx_output.cpp +void initDMXOutput(); void handleDMXOutput(); //dmx_input.cpp diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 66be10f783..0f252189d0 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -704,7 +704,7 @@ void WLED::setup() } #endif #ifdef WLED_ENABLE_DMX_OUTPUT - initDMX(); + initDMXOutput(); #endif #ifdef WLED_ENABLE_DMX_INPUT dmxInput.init(dmxInputReceivePin, dmxInputTransmitPin, dmxInputEnablePin, dmxInputPort);