Skip to content

Commit 6c11367

Browse files
committed
fixup! [rp] Add UART module
1 parent 7a0e999 commit 6c11367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modm/platform/uart/rp/uart.hpp.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public:
6464
connect()
6565
{
6666
using Connector = GpioConnector<Peripheral::Uart{{ id }}, Signals...>;
67-
using Tx = typename Connector::template GetSignal< PeripheralPin::Tx >;
68-
using Rx = typename Connector::template GetSignal< PeripheralPin::Rx >;
67+
using Tx = typename Connector::template GetSignal< Gpio::Signal::Tx >;
68+
using Rx = typename Connector::template GetSignal< Gpio::Signal::Rx >;
6969
static_assert(((Connector::template IsValid<Tx> and Connector::template IsValid<Rx>) and sizeof...(Signals) == 2) or
7070
((Connector::template IsValid<Tx> or Connector::template IsValid<Rx>) and sizeof...(Signals) == 1),
7171
"Uart{{ id }}::connect() requires one Tx and/or one Rx signal!");

0 commit comments

Comments
 (0)