From de89a00cca2b50a4532e8fffdca38fd0816a6a03 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 17 Nov 2008 20:08:09 +0000 Subject: Correct the xoffset used when display_flipped is false - fixes the display in the main Rockbox build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19128 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target') diff --git a/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c b/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c index dd6d4552e0..4e41a5b5b2 100644 --- a/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c +++ b/firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c @@ -131,7 +131,7 @@ static void flip_lcd(bool yesno) void lcd_set_flip(bool yesno) { display_flipped = yesno; - xoffset = yesno ? 20 : 0; /* A guess */ + xoffset = yesno ? 0 : 20; /* TODO: Implement flipped mode */ if (display_on) flip_lcd(yesno); -- cgit v1.2.3