1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

firmware: move storage_update for applyFlags

This commit is contained in:
Pavol Rusnak 2018-06-22 09:50:21 +02:00
parent f35a74323b
commit dac7efadb8
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,6 @@ void fsm_msgApplyFlags(ApplyFlags *msg)
{
if (msg->has_flags) {
storage_applyFlags(msg->flags);
storage_update();
}
fsm_sendSuccess(_("Flags applied"));
}

View File

@ -849,6 +849,7 @@ void storage_applyFlags(uint32_t flags)
}
storageUpdate.has_flags = true;
storageUpdate.flags |= flags;
storage_update();
}
uint32_t storage_getFlags(void)