Skip to content

Commit

Permalink
fix polarity of init_done flag. oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Nov 6, 2022
1 parent 1d7641c commit 335b78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/shellchat/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ fn wrapped_main() -> ! {
xous::Message::new_blocking_scalar(ShellOpcode::ForceRedraw.to_usize().unwrap(), 0, 0, 0, 0)
).ok();
let (no_retry_failure, count) = pddb::Pddb::new().try_mount();
pddb_init_done.store(false, Ordering::SeqCst);
pddb_init_done.store(true, Ordering::SeqCst);
if no_retry_failure {
// this includes both successfully mounted, and user abort of mount attempt
break;
Expand Down

0 comments on commit 335b78d

Please sign in to comment.