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

pull/25/head
Pavol Rusnak 8 years ago
parent 3ce756b692
commit 633024a993
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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;
}
}

Loading…
Cancel
Save