Skip to content
Snippets Groups Projects
Commit 647e7296 authored by Cristian Maglie's avatar Cristian Maglie
Browse files

Removed wrong cast to uint8

Fix #216
parent 4ac0cc1d
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ Uart::Uart(SERCOM *_s, uint8_t _pinRX, uint8_t _pinTX, SercomRXPad _padRX, Serco
void Uart::begin(unsigned long baudrate)
{
begin(baudrate, (uint8_t)SERIAL_8N1);
begin(baudrate, SERIAL_8N1);
}
void Uart::begin(unsigned long baudrate, uint16_t config)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment