mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Fix VIDPID PHY Read.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user