freemyipod r556 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r555‎ | r556 | r557 >
Date:13:19, 7 February 2011
Author:theseven
Status:new
Tags:
Comment:
emCORE: Fix LCD pixel format constants
Modified paths:
  • /emcore/trunk/target/ipodclassic/target.h (modified) (history)
  • /emcore/trunk/target/ipodnano2g/target.h (modified) (history)
  • /emcore/trunk/target/ipodnano3g/target.h (modified) (history)
  • /emcore/trunk/target/ipodnano4g/target.h (modified) (history)

Diff [purge]

Index: emcore/trunk/target/ipodnano2g/target.h
@@ -45,7 +45,7 @@
4646 #define HAVE_LCD_SHUTDOWN
4747 #define LCD_WIDTH 176
4848 #define LCD_HEIGHT 132
49 -#define LCD_FORMAT 0x004154b1 // rgb565
 49+#define LCD_FORMAT 0x004154b4 // rgb565
5050 #define LCD_BYTESPERPIXEL 2
5151 #define LCDCONSOLE_FGCOLOR 0
5252 #define LCDCONSOLE_BGCOLOR -1
Index: emcore/trunk/target/ipodnano3g/target.h
@@ -44,7 +44,7 @@
4545 #define HAVE_LCD_SHUTDOWN
4646 #define LCD_WIDTH 320
4747 #define LCD_HEIGHT 240
48 -#define LCD_FORMAT 0x004154b1 // rgb565
 48+#define LCD_FORMAT 0x004154b4 // rgb565
4949 #define LCD_BYTESPERPIXEL 2
5050 #define LCDCONSOLE_FGCOLOR 0
5151 #define LCDCONSOLE_BGCOLOR -1
Index: emcore/trunk/target/ipodnano4g/target.h
@@ -43,7 +43,7 @@
4444 #define HAVE_LCD
4545 #define LCD_WIDTH 240
4646 #define LCD_HEIGHT 320
47 -#define LCD_FORMAT 0x004154b1 // rgb565
 47+#define LCD_FORMAT 0x004154b4 // rgb565
4848 #define LCD_BYTESPERPIXEL 2
4949 #define LCDCONSOLE_FGCOLOR 0
5050 #define LCDCONSOLE_BGCOLOR -1
Index: emcore/trunk/target/ipodclassic/target.h
@@ -45,7 +45,7 @@
4646 #define HAVE_LCD_SHUTDOWN
4747 #define LCD_WIDTH 320
4848 #define LCD_HEIGHT 240
49 -#define LCD_FORMAT 0x004154b1 // rgb565
 49+#define LCD_FORMAT 0x004154b4 // rgb565
5050 #define LCD_BYTESPERPIXEL 2
5151 #define LCDCONSOLE_FGCOLOR 0
5252 #define LCDCONSOLE_BGCOLOR -1