From 72f0d265bc07984ed273b0e4c108da16ef8c87b8 Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Thu, 11 Mar 2010 15:18:43 +0000 Subject: [PATCH] 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 --- firmware/target/arm/s5l8700/debug-s5l8700.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/target/arm/s5l8700/debug-s5l8700.c b/firmware/target/arm/s5l8700/debug-s5l8700.c index 72f5a02643..0ad76037f0 100644 --- a/firmware/target/arm/s5l8700/debug-s5l8700.c +++ b/firmware/target/arm/s5l8700/debug-s5l8700.c @@ -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++;