1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 07:58:09 +00:00

send failure when reset workflow is aborted (this sends features when it was aborted by initialize message)

This commit is contained in:
Pavol Rusnak 2016-07-04 15:02:24 +02:00
parent 3ce756b692
commit 633024a993
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -143,6 +143,7 @@ void reset_entropy(const uint8_t *ext_entropy, uint32_t len)
if (!protectButton(ButtonRequestType_ButtonRequest_ConfirmWord, true)) {
storage_reset();
layoutHome();
fsm_sendFailure(FailureType_Failure_Other, "Reset device aborted");
return;
}
}