Skip to content

Commit

Permalink
Cleanup and doku
Browse files Browse the repository at this point in the history
  • Loading branch information
mathertel committed Sep 4, 2017
1 parent e30a556 commit 27b1188
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/DmxSerialNeoPixels/ws2812.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,6 @@ void updateNeopixel(uint8_t *ptr, uint8_t pixels) {

// Just wait long enough without sending any bots to cause the pixels to latch and display the last sent frame
_delay_us((RES / 1000UL) + 1);
} // updateNeopixel()
} // updateNeopixel()

// End
2 changes: 1 addition & 1 deletion src/DMXSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void DMXSerialClass::term(void)
// Initialize the Hardware serial port with the given baud rate
// using 8 data bits, no parity, 2 stop bits for data
// and 8 data bits, even parity, 1 stop bit for the break
inline void _DMXSerialInit(uint16_t baud_setting, uint8_t mode, uint8_t format)
void _DMXSerialInit(uint16_t baud_setting, uint8_t mode, uint8_t format)
{
// assign the baud_setting to the USART Baud Rate Register
UCSRnA = 0; // 04.06.2012: use normal speed operation
Expand Down

0 comments on commit 27b1188

Please sign in to comment.