summaryrefslogtreecommitdiff
path: root/bootloader/meizu_m6sp.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-10-25 11:31:13 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-10-25 11:31:13 +0000
commit52ca187f68ff3d74f604b4e12048aacaed451a24 (patch)
treebb1478eb365e695e4efbc9fd07adf9c64579cffd /bootloader/meizu_m6sp.c
parentf3944cb694b46052975f0a1f1ec9b0aebe047679 (diff)
Meizu M6 SP: update lcd driver, it is now possible to display a rockbox logo (with some limitations, see comments in lcd-m6sp.c)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23345 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/meizu_m6sp.c')
-rw-r--r--bootloader/meizu_m6sp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootloader/meizu_m6sp.c b/bootloader/meizu_m6sp.c
index 2240e95768..064d3fc8df 100644
--- a/bootloader/meizu_m6sp.c
+++ b/bootloader/meizu_m6sp.c
@@ -41,6 +41,7 @@
#include "rbunicode.h"
#include "usb.h"
#include "qt1106.h"
+#include "bitmaps/rockboxlogo.h"
#include <stdarg.h>
@@ -107,7 +108,10 @@ void main(void)
oldval = PCON1;
PCON1 = ((oldval & ~(0xf << 16)) | (0 << 16));
- // Wait for play to be pressed
+ lcd_bitmap(rockboxlogo, 0, 0, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
+ lcd_init_device();
+
+ // Wait for play to be pressed
while(!(PDAT1 & (1 << 4)));
// Wait for play to be released
while((PDAT1 & (1 << 4)));