From 4bc980626c1cf6f1ea7d36e4b54e0023c896c9de Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Fri, 3 Sep 2010 11:00:13 -0700 Subject: add --show_text option to recovery Change-Id: Ie6c6c920260dfa759fbb15b1f352d6bb0fa7146c --- ui.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui.c') diff --git a/ui.c b/ui.c index 01a005f80..e2b2a4491 100644 --- a/ui.c +++ b/ui.c @@ -481,6 +481,14 @@ int ui_text_visible() return visible; } +void ui_show_text(int visible) +{ + pthread_mutex_lock(&gUpdateMutex); + show_text = visible; + update_screen_locked(); + pthread_mutex_unlock(&gUpdateMutex); +} + int ui_wait_key() { pthread_mutex_lock(&key_queue_mutex); -- cgit v1.2.3