From c44f794dfebff602091dd74f634f91726a3bcb3c Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 11 Mar 2022 00:03:31 +0800 Subject: [PATCH] baseline before moving onto the next stage --- services/graphics-server/src/main.rs | 6 +++--- services/status/src/main.rs | 2 +- xous-rs/src/locale.rs | 2 +- xtask/src/main.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index 6bff0d287..6f0be4059 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -327,9 +327,9 @@ fn xmain() -> ! { } } // for now, if we're in braille mode, emit all text to the debug log so we can see it - if cfg!(feature = "braille") { - log::info!("{}", tv); - } + //if cfg!(feature = "braille") { + // log::info!("{}", tv); + //} if !tv.dry_run() { // note: make the clip rect `tv.clip_rect.unwrap()` if you want to debug wordwrapping artifacts; otherwise smallest_rect masks some problems diff --git a/services/status/src/main.rs b/services/status/src/main.rs index c4de445ab..7fe79d71c 100644 --- a/services/status/src/main.rs +++ b/services/status/src/main.rs @@ -318,7 +318,7 @@ fn xmain() -> ! { let batt_interval; let secnotes_interval; if cfg!(feature = "braille") { - // lower the status output rate for braille mode, debugging, etc. + // lower the status output rate for braille mode - it's invisible anyways, this is mainly for the debug configuration batt_interval = 60; secnotes_interval = 30; } else { diff --git a/xous-rs/src/locale.rs b/xous-rs/src/locale.rs index ed67705bc..d18dfa847 100644 --- a/xous-rs/src/locale.rs +++ b/xous-rs/src/locale.rs @@ -1 +1 @@ -pub const LANG: &str = "en"; +pub const LANG: &str = "en-tts"; diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 2c7b22a9c..86be8dcf3 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -235,7 +235,7 @@ fn main() -> Result<(), Box> { Some("./precursors/soc.svd".to_string()), &pkgs, None, None, - Some(&["--features", "tts"]), // one thing at a time... "--features", "braille", + Some(&["--features", "tts", "--features", "braille",]), &[&tts_exec_string], None)? } Some("libstd-test") => {