usb_cables: fix USB-C D+2/D-2 pinout
This commit is contained in:
parent
e2a3a60d3a
commit
5673df323e
12
usb_cables.c
12
usb_cables.c
|
@ -181,12 +181,12 @@ static const struct usb_pin_t usb_host_c_pins[] = {
|
||||||
{
|
{
|
||||||
.name = "D-2",
|
.name = "D-2",
|
||||||
.port = GPIOD,
|
.port = GPIOD,
|
||||||
.pin = GPIO6,
|
.pin = GPIO7,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "D+2",
|
.name = "D+2",
|
||||||
.port = GPIOD,
|
.port = GPIOD,
|
||||||
.pin = GPIO7,
|
.pin = GPIO6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "CC2",
|
.name = "CC2",
|
||||||
|
@ -514,13 +514,13 @@ static const struct usb_pin_t usb_device_c_pins[] = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "D-2",
|
.name = "D-2",
|
||||||
.port = GPIOG,
|
.port = GPIOE,
|
||||||
.pin = GPIO1,
|
.pin = GPIO7,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "D+2",
|
.name = "D+2",
|
||||||
.port = GPIOE,
|
.port = GPIOG,
|
||||||
.pin = GPIO7,
|
.pin = GPIO1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "CC2",
|
.name = "CC2",
|
||||||
|
|
Loading…
Reference in New Issue