File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/modm/platform/uart/rp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ public:
64
64
connect()
65
65
{
66
66
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 >;
69
69
static_assert(((Connector::template IsValid<Tx> and Connector::template IsValid<Rx>) and sizeof...(Signals) == 2) or
70
70
((Connector::template IsValid<Tx> or Connector::template IsValid<Rx>) and sizeof...(Signals) == 1),
71
71
"Uart{{ id }}::connect() requires one Tx and/or one Rx signal!");
You can’t perform that action at this time.
0 commit comments