bishopdynamics / superbird-tool

Cross-Platform Spotify Car Thing (superbird) hacking toolkit
133 stars 8 forks source link

Fix issue where `--restore_device` and similar commands don't work after running `--burn_mode` #11

Closed lmore377 closed 1 year ago

lmore377 commented 1 year ago

Use the enter_burn_mode() function when running superbird-tool with --burn_mode. Fixes the issue where people can't run --restore_device and other similar commands after entering burn mode manually. This seems to be caused by the fact that amlmmc part 1 isn't ran when entering burn mode. Also this simplifies the code a little bit.