Skip to content

Commit 5755c8a

Browse files
committed
fixup! [rp] Add USB module and TinyUSB port
1 parent 15d9b14 commit 5755c8a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/modm/platform/usb/rp/usb.hpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,7 @@ class Usb
3434
connect()
3535
{
3636
using Connector = GpioConnector<Peripheral::Usb, Signals...>;
37-
/* Dp, Dm use dedicated pins
38-
using Dp = typename Connector::template GetSignal< PeripheralPin::Dp >;
39-
using Dm = typename Connector::template GetSignal< PeripheralPin::Dm >;
40-
static_assert(((Connector::template IsValid<Dp> and Connector::template IsValid<Dm>) and
41-
sizeof...(Signals) >= 2), "Usb::connect() requires at least one Dp and one Dm signal!");
42-
*/
37+
// Dp, Dm use dedicated pins, but Vbus and Overcurrent can be connected
4338
Connector::connect();
4439
}
4540
};

0 commit comments

Comments
 (0)