Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bad firmware scenario #568

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Fix bad firmware scenario #568

merged 1 commit into from
Dec 9, 2024

Conversation

microbit-grace
Copy link

@microbit-grace microbit-grace commented Dec 9, 2024

  • Ensure that the bad firmware dialog is triggered in the bluetooth flow (not only in the radio flow). Previously, bad firmware would just prompt a manual flashing dialog for bluetooth flow.
  • Remove "Skip and transfer manually" option in bad firmware dialog.

Copy link

github-actions bot commented Dec 9, 2024

Preview build will be at
https://review-createai.microbit.org/bad-firmware/

Copy link
Author

@microbit-grace microbit-grace Dec 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found that bad firmware dialog was only popping up for radio flow and not for bluetooth flow. Changes in this file fixes the issue.

Additionally, removed a comment I added a while back in this file as the ConnectResult enum does make things more readable.

Copy link

@microbit-matt-hillsdon microbit-matt-hillsdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit ea913d9 into main Dec 9, 2024
2 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the bad-firmware branch December 9, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants