mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup details
This commit is contained in:
parent
da90d2777d
commit
906f8779a8
2 changed files with 2 additions and 3 deletions
|
|
@ -41,7 +41,6 @@ impl Into<[usize; 2]> for BattStats {
|
|||
]
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug, num_derive::FromPrimitive, num_derive::ToPrimitive)]
|
||||
pub(crate) enum Opcode {
|
||||
/// Battery stats
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ fn xmain() -> ! {
|
|||
|
||||
let xns = xous_names::XousNames::new().unwrap();
|
||||
let com_sid = xns.register_name(api::SERVER_NAME_COM).expect("can't register server");
|
||||
info!("registered with NS -- {:?}", com_sid);
|
||||
trace!("registered with NS -- {:?}", com_sid);
|
||||
|
||||
// Create a new com object
|
||||
let mut com = XousCom::new();
|
||||
|
|
@ -250,7 +250,7 @@ fn xmain() -> ! {
|
|||
let mut battstats_conns: [Option<xous::CID>; 32] = [None; 32];
|
||||
// other future notification vectors shall go here
|
||||
|
||||
info!("starting main loop");
|
||||
trace!("starting main loop");
|
||||
loop {
|
||||
let msg = xous::receive_message(com_sid).unwrap();
|
||||
trace!("Message: {:?}", msg);
|
||||
|
|
|
|||
Loading…
Reference in a new issue