diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h index 0ef11e572b..4dc122656f 100644 --- a/firmware/export/config/sansaclipzip.h +++ b/firmware/export/config/sansaclipzip.h @@ -54,7 +54,7 @@ #define LCD_WIDTH 96 #define LCD_HEIGHT 96 #define LCD_DEPTH 16 /* 65536 colours */ -#define LCD_PIXELFORMAT RGB565SWAPPED +#define LCD_PIXELFORMAT RGB565 /* define this if you have LCD enable function */ #define HAVE_LCD_ENABLE diff --git a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c index cc30e19fcf..53d80cbbe7 100644 --- a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c +++ b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c @@ -372,8 +372,8 @@ void lcd_write_data(const fb_data *data, int count) while (count--) { pixel = *data++; - lcd_write_dat((pixel >> 0) & 0xFF); lcd_write_dat((pixel >> 8) & 0xFF); + lcd_write_dat((pixel >> 0) & 0xFF); } } diff --git a/tools/configure b/tools/configure index 31ea290e4c..5b84f8774e 100755 --- a/tools/configure +++ b/tools/configure @@ -2536,7 +2536,7 @@ fi target="-DSANSA_CLIPZIP" memory=8 # not sure bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" - bmp2rb_native="$rootdir/tools/bmp2rb -f 5" + bmp2rb_native="$rootdir/tools/bmp2rb -f 4" tool="$rootdir/tools/scramble -add=clzp" output="rockbox.sansa" bootoutput="bootloader-clipzip.sansa"