diff --git a/wled00/src/dependencies/dmx/SparkFunDMX.cpp b/wled00/src/dependencies/dmx/SparkFunDMX.cpp index f0806432a..33bbc9ae9 100644 --- a/wled00/src/dependencies/dmx/SparkFunDMX.cpp +++ b/wled00/src/dependencies/dmx/SparkFunDMX.cpp @@ -41,7 +41,7 @@ static int currentChannel = 0; // Some new MCUs (-S2, -C3) don't have HardwareSerial(2) #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 2, 0) #if SOC_UART_NUM < 3 - #error DMX output is not possible on your MCU, as it not have HardwareSerial(2) + #error DMX output is not possible on your MCU, as it doesn't have HardwareSerial(2) #endif #endif diff --git a/wled00/src/dependencies/dmx/SparkFunDMX.h b/wled00/src/dependencies/dmx/SparkFunDMX.h index a7729c236..73861153b 100644 --- a/wled00/src/dependencies/dmx/SparkFunDMX.h +++ b/wled00/src/dependencies/dmx/SparkFunDMX.h @@ -26,10 +26,10 @@ Distributed as-is; no warranty is given. class SparkFunDMX { public: void initWrite(int maxChan); - #if !defined(DMX_SEND_ONLY) +#if !defined(DMX_SEND_ONLY) void initRead(int maxChan); uint8_t read(int Channel); - #endif +#endif void write(int channel, uint8_t value); void update(); private: