[Bug] DFU can be started multiple times #1146
Labels
bug
Something isn't working
hub: primehub/inventorhub
Issues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hub
platform: essentialhub
Issues related to the LEGO SPIKE Essential hub
software: pybricks-code
Issues with https://code.pybricks.com application
topic: USB
Issues related to USB
Describe the bug
When DFU install is in progress, a second install can be started on the same hub.
This ultimately results in a
USB Error
, but the hub gets quite confused. After unplugging the battery and restoring the firmware everything worked again.To reproduce
It's easier to do in the restore step with fewer clicks.
Expected behavior
I know we can't control the Web USB visibility. Maybe have the install/restore button not enabled while DFU is used?
The text was updated successfully, but these errors were encountered: