Fix scrolling direction in the Nano2G __dbg_hw_info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25115 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
462bdfe612
commit
72f0d265bc
1 changed files with 2 additions and 2 deletions
|
@ -139,11 +139,11 @@ bool __dbg_hw_info(void)
|
|||
lcd_update();
|
||||
switch(button_get_w_tmo(HZ/20))
|
||||
{
|
||||
case BUTTON_SCROLL_FWD:
|
||||
case BUTTON_SCROLL_BACK:
|
||||
if(state!=0) state--;
|
||||
break;
|
||||
|
||||
case BUTTON_SCROLL_BACK:
|
||||
case BUTTON_SCROLL_FWD:
|
||||
if(state!=max_states-1)
|
||||
{
|
||||
state++;
|
||||
|
|
Loading…
Reference in a new issue