]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
samsung: misc: menu: increase delay in menu main loop
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 30 Apr 2014 11:28:09 +0000 (13:28 +0200)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 7 May 2014 10:40:39 +0000 (19:40 +0900)
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 <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/common/misc.c

index 65b5c3052e339b37c0a100810e5e8ade4f989eb3..2ea275ee7aa8f5089ccf7db907906a311d228fbc 100644 (file)
@@ -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) {