mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix a misplaced comment
This commit is contained in:
parent
bbccf1c2a7
commit
3f6c2a6a5f
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ pub fn create_main_menu(keys: Arc<Mutex<RootKeys>>, status_conn: xous::CID, com:
|
||||||
let mut menuitems = Vec::<MenuItem>::new();
|
let mut menuitems = Vec::<MenuItem>::new();
|
||||||
|
|
||||||
// no backlight on versions with no display
|
// no backlight on versions with no display
|
||||||
//#[cfg(not(feature="tts"))]
|
#[cfg(not(feature="tts"))]
|
||||||
menuitems.push(MenuItem {
|
menuitems.push(MenuItem {
|
||||||
name: String::from_str(t!("mainmenu.backlighton", xous::LANG)),
|
name: String::from_str(t!("mainmenu.backlighton", xous::LANG)),
|
||||||
action_conn: Some(com.conn()),
|
action_conn: Some(com.conn()),
|
||||||
|
|
@ -23,7 +23,7 @@ pub fn create_main_menu(keys: Arc<Mutex<RootKeys>>, status_conn: xous::CID, com:
|
||||||
close_on_select: true,
|
close_on_select: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
//#[cfg(not(feature="tts"))]
|
#[cfg(not(feature="tts"))]
|
||||||
menuitems.push(MenuItem {
|
menuitems.push(MenuItem {
|
||||||
name: String::from_str(t!("mainmenu.backlightoff", xous::LANG)),
|
name: String::from_str(t!("mainmenu.backlightoff", xous::LANG)),
|
||||||
action_conn: Some(com.conn()),
|
action_conn: Some(com.conn()),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue