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

use tryReboot() wrapper for all reboots #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alangecker
Copy link

reboots sometimes lead to errors being thrown due to the usb device gone missing. the tryReoot() wrapper got introduced for that case but was not used everywhere.

with this PR the flashFactoryZip() method uses this wrapper for all of its reboots

reboots sometimes lead to errors being thrown due to the usb device gone missing. the tryReoot() wrapper got introduced for that case but was not used everywhere.
@kdrag0n
Copy link
Owner

kdrag0n commented May 9, 2023

I'm not sure this is correct. We use tryReboot after flashing the bootloader and radio packs because some devices reboot by themselves after flashing special firmware image packs. That shouldn't be happening for regular images like those flashed before the other reboot calls.

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.

None yet

2 participants