mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
cleanup a warning when not in tts mode
This commit is contained in:
parent
13ac7d4228
commit
7b45241f2a
1 changed files with 1 additions and 1 deletions
|
|
@ -88,6 +88,7 @@ fn xmain() -> ! {
|
|||
let _redraw_handle = thread::spawn({
|
||||
let op = Arc::clone(&op);
|
||||
move || {
|
||||
#[cfg(feature="tts")]
|
||||
let tt = ticktimer_server::Ticktimer::new().unwrap();
|
||||
// build the core data structure here
|
||||
let text_action = TextEntry {
|
||||
|
|
@ -206,7 +207,6 @@ fn xmain() -> ! {
|
|||
}
|
||||
fixed_items.clear();
|
||||
#[cfg(feature="tts")]
|
||||
#[cfg(feature="tts")]
|
||||
{
|
||||
tts.tts_blocking(t!("modals.checkbox", xous::LANG)).unwrap();
|
||||
tts.tts_blocking(config.prompt.as_str().unwrap()).unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue