microsoft / pxt-adafruit

Microsoft MakeCode editor for Adafruit Circuit Playground Express
https://makecode.adafruit.com
Other
81 stars 77 forks source link

WebUSB not asking for second pairing #1017

Open jwunderl opened 5 years ago

jwunderl commented 5 years ago

Describe the bug

When using webusb, I didn't get the prompt to pair a second time in bootloader mode until after about ~10 attempts at downloading. Until it prompted me to pair in bootloader mode, it worked very inconsistently (downloads once, then fails a bunch, etc). After it requested to pair again, it worked consistently

To Reproduce

Steps to reproduce the behavior:

  1. Pair circuit playground using webusb
  2. try to download
  3. potentially see error

Expected behavior

Should try to pair both modes when the the user says to pair

Desktop (please complete the following information):