the Vendor2 command (0x82) which is used to set the line speed also sends a break:
https://github.com/microbit-foundation/DAPLink/blob/master/source/daplink/cmsis-dap/DAP_vendor.c#L93
this resets the target:
https://github.com/microbit-foundation/DAPLink/blob/master/source/daplink/usb2uart/usbd_user_cdc_acm.c#L130
I don't thinks v1 was doing this, and I think this is why makecode resets the board twice while flashing over WebUSB.
cc @jaustin
the Vendor2 command (0x82) which is used to set the line speed also sends a break:
https://github.com/microbit-foundation/DAPLink/blob/master/source/daplink/cmsis-dap/DAP_vendor.c#L93
this resets the target:
https://github.com/microbit-foundation/DAPLink/blob/master/source/daplink/usb2uart/usbd_user_cdc_acm.c#L130
I don't thinks v1 was doing this, and I think this is why makecode resets the board twice while flashing over WebUSB.
cc @jaustin