We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56b8c8 commit 817e758Copy full SHA for 817e758
services/shellchat/src/main.rs
@@ -426,7 +426,11 @@ fn wrapped_main() -> ! {
426
let main_conn = xous::connect(shch_sid).unwrap();
427
move || {
428
let tt = ticktimer_server::Ticktimer::new().unwrap();
429
- tt.sleep_ms(500).ok(); // give some time for the system to finish booting
+ let xns = xous_names::XousNames::new().unwrap();
430
+ let gam = gam::Gam::new(&xns).unwrap();
431
+ while !gam.trusted_init_done().unwrap() {
432
+ tt.sleep_ms(50).ok();
433
+ }
434
loop {
435
let (no_retry_failure, count) = pddb::Pddb::new().try_mount();
436
pddb_init_done.store(true, Ordering::SeqCst);
0 commit comments