mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-16 23:05:38 +00:00
Fix incorrect D- pulldown and cleanup USB device struct
This commit fixes the incorrect setting of the D- pulldown resistor in the USB LL. The usb_struct.h used by USB device mode has also been cleaned up.
This commit is contained in:
@@ -37,6 +37,6 @@ static inline void usb_ll_int_phy_pullup_conf(bool dp_pu, bool dp_pd, bool dm_pu
|
||||
conf.dp_pullup = dp_pu;
|
||||
conf.dp_pulldown = dp_pd;
|
||||
conf.dm_pullup = dm_pu;
|
||||
conf.dm_pulldown = dp_pd;
|
||||
conf.dm_pulldown = dm_pd;
|
||||
USB_WRAP.otg_conf = conf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user