mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
some comment bookkeeping and whitespace cleanup
This commit is contained in:
parent
a91292509e
commit
9eec4436ea
2 changed files with 3 additions and 3 deletions
|
|
@ -738,7 +738,7 @@ fn main() -> ! {
|
|||
// - GAM
|
||||
// - graphics (if building for hosted mode)
|
||||
// - oqc (for factory test)
|
||||
// - status sub system (for setting the layout)
|
||||
// - status sub system (for setting the layout, autobacklight feature)
|
||||
// - USB (for getting layout)
|
||||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||
let kbd_sid = xns.register_name(api::SERVER_NAME_KBD, Some(4)).expect("can't register server");
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ fn wrapped_main() -> ! {
|
|||
SERVER_NAME_STATUS,
|
||||
StatusOpcode::Keypress.to_u32().unwrap() as usize,
|
||||
);
|
||||
|
||||
|
||||
let enabled = Arc::new(Mutex::new(false));
|
||||
let (tx, rx): (Sender<BacklightThreadOps>, Receiver<BacklightThreadOps>) = unbounded();
|
||||
|
||||
|
|
@ -407,7 +407,7 @@ fn wrapped_main() -> ! {
|
|||
log::trace!("|status: Message: {:?}", msg);
|
||||
match FromPrimitive::from_usize(msg.body.id()) {
|
||||
// TODO: handle tts
|
||||
Some(StatusOpcode::EnableAutomaticBacklight) => {
|
||||
Some(StatusOpcode::EnableAutomaticBacklight) => {
|
||||
*enabled.lock().unwrap() = true;
|
||||
|
||||
// second: delete the first three elements off the menu
|
||||
|
|
|
|||
Loading…
Reference in a new issue