From: Przemyslaw Marczak
Date: Wed, 30 Apr 2014 11:28:09 +0000 (+0200)
Subject: samsung: misc: menu: increase delay in menu main loop
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=f418a1cfc84e19d82730876594806931bf48e24a;p=u-boot.git
samsung: misc: menu: increase delay in menu main loop
Increase menu loop delay to 200 ms helps choose the right
menu option by user. Before this, each time key was pressed
the current menu option was changed few times.
Now it changes only once and also changes few times if key
is pressed for a longer time.
Signed-off-by: Przemyslaw Marczak
Cc: Minkyu Kang
Signed-off-by: Minkyu Kang
---
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 65b5c3052e..2ea275ee7a 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -285,7 +285,7 @@ static void download_menu(void)
display_download_menu(mode);
last_mode = mode;
- mdelay(100);
+ mdelay(200);
key = check_keys();
switch (key) {