We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15d9b14 commit 5755c8aCopy full SHA for 5755c8a
src/modm/platform/usb/rp/usb.hpp
@@ -34,12 +34,7 @@ class Usb
34
connect()
35
{
36
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
- */
+ // Dp, Dm use dedicated pins, but Vbus and Overcurrent can be connected
43
Connector::connect();
44
}
45
};
0 commit comments