Implemented interrupt driven rx for uart1

This commit is contained in:
2019-08-02 17:36:07 +02:00
parent b90da9bd9c
commit efe1446907
3 changed files with 36 additions and 5 deletions

View File

@@ -40,9 +40,9 @@ class Uart {
Driver::txByte(byte);
}
static typename Driver::data_t rxByte()
static bool rxByte(typename Driver::data_t &byte)
{
return Driver::rxByte();
return Driver::rxByte(byte);
}
static typename Driver::data_t peek()