diff options
Diffstat (limited to 'firmware/target/coldfire/mpio/hd200/lcd-hd200.c')
-rw-r--r-- | firmware/target/coldfire/mpio/hd200/lcd-hd200.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/lcd-hd200.c b/firmware/target/coldfire/mpio/hd200/lcd-hd200.c index ba12e072da..682ed6a311 100644 --- a/firmware/target/coldfire/mpio/hd200/lcd-hd200.c +++ b/firmware/target/coldfire/mpio/hd200/lcd-hd200.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #define LCD_SET_PWM_FRC 0x90 | 48 | #define LCD_SET_PWM_FRC 0x90 |
49 | #define LCD_SET_POWER_SAVE 0xa8 | 49 | #define LCD_SET_POWER_SAVE 0xa8 |
50 | #define LCD_REVERSE 0xa6 | 50 | #define LCD_REVERSE 0xa6 |
51 | #define LCD_RESET 0xe2 | 51 | #define LCD_RESET 0xe2 |
52 | 52 | ||
53 | /* cached settings */ | 53 | /* cached settings */ |
54 | static bool cached_invert = false; | 54 | static bool cached_invert = false; |
@@ -130,12 +130,12 @@ void lcd_init_device(void) | |||
130 | and_l(~0x00000800, &GPIO_FUNCTION); /* CS3 line */ | 130 | and_l(~0x00000800, &GPIO_FUNCTION); /* CS3 line */ |
131 | 131 | ||
132 | /* LCD Reset GPO34 */ | 132 | /* LCD Reset GPO34 */ |
133 | or_l(0x00000004, &GPIO1_ENABLE); /* set as output */ | 133 | or_l(0x00000004, &GPIO1_ENABLE); /* set as output */ |
134 | or_l(0x00000004, &GPIO1_FUNCTION); /* switch to secondary function - GPIO */ | 134 | or_l(0x00000004, &GPIO1_FUNCTION); /* switch to secondary function - GPIO */ |
135 | 135 | ||
136 | and_l(~0x00000004, &GPIO1_OUT); /* RESET low */ | 136 | and_l(~0x00000004, &GPIO1_OUT); /* RESET low */ |
137 | sleep(1); /* delay at least 1000 ns */ | 137 | sleep(1); /* delay at least 1000 ns */ |
138 | or_l(0x00000004, &GPIO1_OUT); /* RESET high */ | 138 | or_l(0x00000004, &GPIO1_OUT); /* RESET high */ |
139 | sleep(1); | 139 | sleep(1); |
140 | 140 | ||
141 | /* parameters setup taken from original firmware */ | 141 | /* parameters setup taken from original firmware */ |