missing word in comment

This commit is contained in:
Frank 2022-12-10 18:00:48 +01:00
parent 9380b2b4e8
commit 4f28bf7ab4
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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: