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:
Michael Sparmann 2010-03-11 15:18:43 +00:00
parent 462bdfe612
commit 72f0d265bc

View file

@ -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++;