mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
fix unpack signature on init flow to allow for both block and nonblock
This commit is contained in:
parent
18abf7ca0a
commit
b2f169c55e
1 changed files with 2 additions and 2 deletions
|
|
@ -509,7 +509,7 @@ fn main() -> ! {
|
|||
}),
|
||||
|
||||
// UX flow opcodes
|
||||
Some(Opcode::UxTryInitKeys) => msg_scalar_unpack!(msg, _, _, _, _, {
|
||||
Some(Opcode::UxTryInitKeys) => {
|
||||
match msg.body {
|
||||
xous::Message::BlockingScalar(_) => {
|
||||
deferred_response = Some(msg.sender);
|
||||
|
|
@ -602,7 +602,7 @@ fn main() -> ! {
|
|||
log::info!("{}ROOTKEY.BOOTPW,{}", xous::BOOKEND_START, xous::BOOKEND_END);
|
||||
rootkeys_modal.activate();
|
||||
}
|
||||
}),
|
||||
},
|
||||
Some(Opcode::UxInitBootPasswordReturn) => {
|
||||
// assume:
|
||||
// - setup_key_init has also been called (exactly once, before anything happens)
|
||||
|
|
|
|||
Loading…
Reference in a new issue