From 633024a9933c2f6b672ac6ec3e7e69c384ec90be Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 4 Jul 2016 15:02:24 +0200 Subject: [PATCH] send failure when reset workflow is aborted (this sends features when it was aborted by initialize message) --- firmware/reset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/reset.c b/firmware/reset.c index 7b2fa72232..b6b337fcf5 100644 --- a/firmware/reset.c +++ b/firmware/reset.c @@ -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; } }