diff options
author | Dave Chapman <dave@dchapman.com> | 2008-10-29 01:42:03 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2008-10-29 01:42:03 +0000 |
commit | 8df1a7e29abd51cc455844a9633e1cc5e057065f (patch) | |
tree | feff4d97ffbbc1bf2d55076fa72f4d160c61de4e /firmware/export | |
parent | b771428d862cb6d1780f896550c177f2d5ae72a8 (diff) | |
download | rockbox-8df1a7e29abd51cc455844a9633e1cc5e057065f.tar.gz rockbox-8df1a7e29abd51cc455844a9633e1cc5e057065f.zip |
e200v2: implement the backlight handling (copy/paste from the c200v1/e200v1 code - this should probably be unified, along with other upcoming v2 code), plus clean up the lcd init by calling lcd_init() directly in the bootloader, instead of lcd_init_device().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18910 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-e200v2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/config-e200v2.h b/firmware/export/config-e200v2.h index 5b051f2a89..0dc87d4123 100644 --- a/firmware/export/config-e200v2.h +++ b/firmware/export/config-e200v2.h | |||
@@ -47,6 +47,7 @@ | |||
47 | #define LCD_DEPTH 16 /* 65536 colours */ | 47 | #define LCD_DEPTH 16 /* 65536 colours */ |
48 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 48 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
49 | 49 | ||
50 | #ifndef BOOTLOADER | ||
50 | /* define this if you have LCD enable function */ | 51 | /* define this if you have LCD enable function */ |
51 | #define HAVE_LCD_ENABLE | 52 | #define HAVE_LCD_ENABLE |
52 | 53 | ||
@@ -54,6 +55,7 @@ | |||
54 | should be defined as well. */ | 55 | should be defined as well. */ |
55 | #define HAVE_LCD_SLEEP | 56 | #define HAVE_LCD_SLEEP |
56 | #define HAVE_LCD_SLEEP_SETTING | 57 | #define HAVE_LCD_SLEEP_SETTING |
58 | #endif | ||
57 | 59 | ||
58 | /* define this if you can flip your LCD */ | 60 | /* define this if you can flip your LCD */ |
59 | #define HAVE_LCD_FLIP | 61 | #define HAVE_LCD_FLIP |
@@ -165,7 +167,7 @@ | |||
165 | #define CONFIG_USBOTG USBOTG_AS3525 | 167 | #define CONFIG_USBOTG USBOTG_AS3525 |
166 | 168 | ||
167 | /* enable these for the experimental usb stack */ | 169 | /* enable these for the experimental usb stack */ |
168 | #define HAVE_USBSTACK | 170 | //#define HAVE_USBSTACK |
169 | #define USB_VENDOR_ID 0x0781 | 171 | #define USB_VENDOR_ID 0x0781 |
170 | #define USB_PRODUCT_ID 0x7423 | 172 | #define USB_PRODUCT_ID 0x7423 |
171 | 173 | ||