Added explicit selection of interrupt driven uart

This commit is contained in:
BlackMark committed 2019-07-28 14:09:52 +02:00
1 parent d8aee7498d
commit e71d103602
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ void usartTestUsage()
void newUartUsage()
{
using config = uart::config<9600, uart::DataBits::EIGHT, uart::Parity::NONE, uart::StopBits::ONE>;
using uart0 = uart::hardware0<uart::Mode::ASYNCHRONOUS, config>;
using uart0 = uart::hardware0<uart::Mode::ASYNCHRONOUS, config, uart::Driven::INTERRUPT>;
using softuart = uart::software<io::P::B1, io::P::B2, config>;
uart::uart<uart0> serial;