Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mathertel committed Feb 26, 2020
1 parent 04a341f commit 85da1e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/DMXSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@ typedef enum {

#if defined(ARDUINO_ARCH_AVR)
#include "DMXSerial_avr.h"
#include <avr/interrupt.h>

#elif defined(ARDUINO_ARCH_MEGAAVR)
#include "DMXSerial_megaavr.h"
#include "avr/io.h"

#endif

Expand Down Expand Up @@ -242,6 +240,7 @@ bool DMXSerialClass::dataUpdated()
return (_dmxUpdated);
}


// reset DMX data update flag.
void DMXSerialClass::resetUpdated()
{
Expand Down
3 changes: 2 additions & 1 deletion src/DMXSerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
// 29.10.2017 documentation.
//
// 07.02.2020 Refactored to support multiple hardware layers.
// 26.02.2020 Version 1.5.0
// - - - - -

#ifndef DmxSerial_h
Expand All @@ -43,7 +44,7 @@

#define DMXMODEPIN 2 ///< Arduino pin 2 for controlling the data direction is the default value.
#define DmxModeOut HIGH ///< set the level to HIGH for outgoing data direction
#define DmxModeIn LOW ///< set the level to LOW for incomming data direction
#define DmxModeIn LOW ///< set the level to LOW for incoming data direction

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

Expand Down

0 comments on commit 85da1e4

Please sign in to comment.