fix polarity of init_done flag. oops.

This commit is contained in:
bunnie 2022-11-06 20:50:15 +08:00
parent 1d7641cafa
commit 335b78d865

View file

@ -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;