Fix VIDPID PHY Read.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
84f7952817
commit
e6c0227996
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ void usb_init() {
|
||||||
else {
|
else {
|
||||||
phy_data.vid = desc_device.idVendor;
|
phy_data.vid = desc_device.idVendor;
|
||||||
phy_data.pid = desc_device.idProduct;
|
phy_data.pid = desc_device.idProduct;
|
||||||
|
phy_data.vidpid_present = true;
|
||||||
}
|
}
|
||||||
mutex_init(&mutex);
|
mutex_init(&mutex);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue