summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/bitmaps/native/rockboxlogo.96x30x16.bmpbin8814 -> 8694 bytes
-rw-r--r--firmware/export/config/sansaclipzip.h2
-rw-r--r--firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c4
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/bitmaps/native/rockboxlogo.96x30x16.bmp b/apps/bitmaps/native/rockboxlogo.96x30x16.bmp
index 02e64e52a2..e032ebae34 100644
--- a/apps/bitmaps/native/rockboxlogo.96x30x16.bmp
+++ b/apps/bitmaps/native/rockboxlogo.96x30x16.bmp
Binary files differ
diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h
index 4dc122656f..0ef11e572b 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 RGB565
+#define LCD_PIXELFORMAT RGB565SWAPPED
/* 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 0ae049b6ff..49a8014005 100644
--- a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
+++ b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
@@ -185,7 +185,7 @@ static void lcd_init_type1(void)
lcd_write_dat(0x03);
lcd_write_cmd(0x05);
- lcd_write_dat(0x08);
+ lcd_write_dat(0x00); /* 0x08 results in BGR colour */
lcd_write_cmd(0x06);
lcd_write_dat(0x00);
@@ -403,8 +403,8 @@ void lcd_update_rect(int x, int y, int width, int height)
ptr = &lcd_framebuffer[row][x];
for (col = x; col < x_end; col++) {
pixel = *ptr++;
- lcd_write_dat((pixel >> 8) & 0xFF);
lcd_write_dat((pixel >> 0) & 0xFF);
+ lcd_write_dat((pixel >> 8) & 0xFF);
}
}
}