Skip to content

Commit 85da1e4

Browse files
committed
cleanup
1 parent 04a341f commit 85da1e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/DMXSerial.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@ typedef enum {
6363

6464
#if defined(ARDUINO_ARCH_AVR)
6565
#include "DMXSerial_avr.h"
66-
#include <avr/interrupt.h>
6766

6867
#elif defined(ARDUINO_ARCH_MEGAAVR)
6968
#include "DMXSerial_megaavr.h"
70-
#include "avr/io.h"
7169

7270
#endif
7371

@@ -242,6 +240,7 @@ bool DMXSerialClass::dataUpdated()
242240
return (_dmxUpdated);
243241
}
244242

243+
245244
// reset DMX data update flag.
246245
void DMXSerialClass::resetUpdated()
247246
{

src/DMXSerial.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
// 29.10.2017 documentation.
3131
//
3232
// 07.02.2020 Refactored to support multiple hardware layers.
33+
// 26.02.2020 Version 1.5.0
3334
// - - - - -
3435

3536
#ifndef DmxSerial_h
@@ -43,7 +44,7 @@
4344

4445
#define DMXMODEPIN 2 ///< Arduino pin 2 for controlling the data direction is the default value.
4546
#define DmxModeOut HIGH ///< set the level to HIGH for outgoing data direction
46-
#define DmxModeIn LOW ///< set the level to LOW for incomming data direction
47+
#define DmxModeIn LOW ///< set the level to LOW for incoming data direction
4748

4849
#define DMXPROBE_RECV_MAX 50 // standard maximum of waiting for a DMX packet in DMXPROBE mode.
4950

0 commit comments

Comments
 (0)