From 4f28bf7ab4fdf163cdfb139b5d828a9e93dfc5c5 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Sat, 10 Dec 2022 18:00:48 +0100 Subject: [PATCH] missing word in comment --- wled00/src/dependencies/dmx/SparkFunDMX.cpp | 2 +- wled00/src/dependencies/dmx/SparkFunDMX.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: