From 335b78d865dc66f20bd2f334b05c8b07daab5e80 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 6 Nov 2022 20:50:15 +0800 Subject: [PATCH] fix polarity of init_done flag. oops. --- services/shellchat/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/shellchat/src/main.rs b/services/shellchat/src/main.rs index 79cecbff8..ec332fa0d 100644 --- a/services/shellchat/src/main.rs +++ b/services/shellchat/src/main.rs @@ -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;