Skip to content

Commit 647e729

Browse files
committed
Removed wrong cast to uint8
Fix #216
1 parent 4ac0cc1 commit 647e729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/Uart.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Uart::Uart(SERCOM *_s, uint8_t _pinRX, uint8_t _pinTX, SercomRXPad _padRX, Serco
3131

3232
void Uart::begin(unsigned long baudrate)
3333
{
34-
begin(baudrate, (uint8_t)SERIAL_8N1);
34+
begin(baudrate, SERIAL_8N1);
3535
}
3636

3737
void Uart::begin(unsigned long baudrate, uint16_t config)

0 commit comments

Comments
 (0)