-
Notifications
You must be signed in to change notification settings - Fork 0
Fix WebUSB serial #55
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Otherwise it would interfere with the flashing process
Deploying microbit-connection with
|
Latest commit: |
6328124
|
Status: | ✅ Deploy successful! |
Preview URL: | https://bb4305ef.microbit-connection.pages.dev |
Branch Preview URL: | https://fix-serial.microbit-connection.pages.dev |
// Prevent starting serial when flashing. | ||
if (!this.flashing) { | ||
this.startSerialInternal(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This prevents serial from starting when flashing is in progress in the Python Editor. Adding event listener in device hook in the python editor causes serial to get started in the flashing process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Update connection library to include fix from microbit-foundation/microbit-connection#55
Update connection library to include fix from microbit-foundation/microbit-connection#55
Issue fixed: microbit-foundation/python-editor-v3#1209
To test changes in Python Editor
Draft PR: microbit-foundation/python-editor-v3#1211
Preview url: https://review-python-editor-v3.microbit.org/fix-serial/
To test changes in CreateAI
Draft PR: microbit-foundation/ml-trainer#593
Preview url: https://review-createai.microbit.org/update-conn-lib/