Skip to content

Commit

Permalink
Merge branch 'dev': 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bombcheck committed Oct 4, 2018
2 parents 2df709b + d235899 commit 7657c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LEDStatus/LEDStatus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void LEDStatus::changePin(int8_t ledPin) {
inverse = false;
}

if ((ledPin != _ledPin) && (inverse != _inverse)) {
if ((ledPin != _ledPin) || (inverse != _inverse)) {
// make sure old pin is off
digitalWrite(_ledPin, _pinState(LOW));
_ledPin = ledPin;
Expand Down

0 comments on commit 7657c5f

Please sign in to comment.