Skip to content

Commit

Permalink
Fix tabulation
Browse files Browse the repository at this point in the history
  • Loading branch information
g0wfv committed Nov 17, 2016
1 parent d4fdd42 commit f176b54
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions UMP/UMP.ino
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void setup()
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega32U4__) || defined(__SAM3X8E__)
Serial1.begin(9600);
#else
mySerial.begin(9600);
mySerial.begin(9600);
#endif

pinMode(PIN_LED, OUTPUT);
Expand Down Expand Up @@ -137,7 +137,7 @@ void loop()
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega32U4__) || defined(__SAM3X8E__)
Serial1.write(m_buffer + 3U, m_length - 3U);
#else
mySerial.write(m_buffer + 3U, m_length - 3U);
mySerial.write(m_buffer + 3U, m_length - 3U);
#endif
break;
default:
Expand Down Expand Up @@ -169,8 +169,8 @@ void loop()
while (Serial1.available())
Serial1.read();
#else
while (mySerial.available())
mySerial.read();
while (mySerial.available())
mySerial.read();
#endif

m_count++;
Expand All @@ -188,4 +188,3 @@ void loop()
}
}
}

0 comments on commit f176b54

Please sign in to comment.