mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
status: proper format specifier for prefs errors
This commit is contained in:
parent
d9c706a40e
commit
2a8ac69120
1 changed files with 4 additions and 4 deletions
|
|
@ -229,11 +229,11 @@ fn wrapped_main() -> ! {
|
||||||
netmgr.connection_manager_wifi_on()
|
netmgr.connection_manager_wifi_on()
|
||||||
},
|
},
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
log::error!("cannot read preference value for radio_on_on_boot: {}", error);
|
log::error!("cannot read preference value for radio_on_on_boot: {:?}", error);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}.unwrap_or_else(|error| {
|
}.unwrap_or_else(|error| {
|
||||||
log::error!("cannot set radio status: {}", error)
|
log::error!("cannot set radio status: {:?}", error)
|
||||||
});
|
});
|
||||||
|
|
||||||
match prefs.connect_known_networks_on_boot() {
|
match prefs.connect_known_networks_on_boot() {
|
||||||
|
|
@ -243,11 +243,11 @@ fn wrapped_main() -> ! {
|
||||||
netmgr.connection_manager_stop()
|
netmgr.connection_manager_stop()
|
||||||
},
|
},
|
||||||
Err(error) => {
|
Err(error) => {
|
||||||
log::error!("cannot read preference value for connect_known_networks_on_boot: {}", error);
|
log::error!("cannot read preference value for connect_known_networks_on_boot: {:?}", error);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}.unwrap_or_else(|error| {
|
}.unwrap_or_else(|error| {
|
||||||
log::error!("cannot set radio status: {}", error)
|
log::error!("cannot set radio status: {:?}", error)
|
||||||
});
|
});
|
||||||
|
|
||||||
// screensize is controlled by the GAM, it's set in main.rs near the top
|
// screensize is controlled by the GAM, it's set in main.rs near the top
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue