mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
reflect unmount status after tryunmount
this fixes a problem where backups fail when autobacklight is enabled, because autobacklight is constantly querying the PDDB for the length of the autobacklight timeout, even after the PDDB is unmounted.
This commit is contained in:
parent
6f5d37866c
commit
52955681d5
1 changed files with 1 additions and 0 deletions
|
|
@ -1848,6 +1848,7 @@ fn wrapped_main() -> ! {
|
|||
// finally, unmount the system basis
|
||||
basis_cache.basis_unmount(&mut pddb_os, PDDB_DEFAULT_SYSTEM_BASIS).expect("can't unmount system basis");
|
||||
if basis_cache.basis_list().len() == 0 {
|
||||
is_mounted.store(false, Ordering::SeqCst);
|
||||
log::info!(".System basis is unmounted.");
|
||||
xous::return_scalar(msg.sender, 1).unwrap();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue