1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-05-01 14:17:00 +00:00

Clear dev->vid and dev->pid, too

This commit is contained in:
Gyorgy Szombathelyi
2021-11-22 23:38:46 +01:00
parent 491d467a97
commit 58d7dc2c30

View File

@@ -374,6 +374,7 @@ uint8_t usb_configure(uint8_t parent, uint8_t port, bool lowspeed) {
d->lowspeed = lowspeed;
d->port = port;
d->class = NULL;
d->vid = d->pid = 0;
// setup endpoint 0
d->ep0.epAddr = 0;