select: wait for key release

This commit is contained in:
schneider 2011-08-01 02:18:36 +02:00
parent 2a632870fd
commit 13df9eec9d
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ int selectFile(char *filename, char *extension)
} }
lcdRefresh(); lcdRefresh();
key=getInputWait(); key=getInputWait();
getInputWaitRelease();
if( key==BTN_DOWN ){ if( key==BTN_DOWN ){
if( selected < count-1 ){ if( selected < count-1 ){
selected++; selected++;