BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
256 stars 91 forks source link

port commander_states.c to Rust #969

Closed benma closed 1 year ago

benma commented 1 year ago

Another reboot unit test was called to test rebooting in the seeded state. The two existing tests test_reboot_when_unitialized and test_reboot_when_initialized covered two out of the three states.

The reboot command is the most important by far, as it is necessary for firmware upgrades.