diff options
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 2519b87f0d..e83194e0f4 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -772,6 +772,11 @@ Lyre prototype 1 */ | |||
772 | #define LCD_SPLIT_LINES 0 | 772 | #define LCD_SPLIT_LINES 0 |
773 | #endif | 773 | #endif |
774 | 774 | ||
775 | /* Most displays have a horizontal stride */ | ||
776 | #ifndef LCD_STRIDEFORMAT | ||
777 | # define LCD_STRIDEFORMAT HORIZONTAL_STRIDE | ||
778 | #endif | ||
779 | |||
775 | /* Simulator LCD dimensions. Set to standard dimensions if undefined */ | 780 | /* Simulator LCD dimensions. Set to standard dimensions if undefined */ |
776 | #ifndef SIM_LCD_WIDTH | 781 | #ifndef SIM_LCD_WIDTH |
777 | #define SIM_LCD_WIDTH LCD_WIDTH | 782 | #define SIM_LCD_WIDTH LCD_WIDTH |
@@ -978,8 +983,7 @@ Lyre prototype 1 */ | |||
978 | || defined(CPU_S5L870X) || (CONFIG_CPU == S3C2440) \ | 983 | || defined(CPU_S5L870X) || (CONFIG_CPU == S3C2440) \ |
979 | || defined(APPLICATION) || (CONFIG_CPU == PP5002) \ | 984 | || defined(APPLICATION) || (CONFIG_CPU == PP5002) \ |
980 | || (CONFIG_CPU == RK27XX) || (CONFIG_CPU == IMX233) || \ | 985 | || (CONFIG_CPU == RK27XX) || (CONFIG_CPU == IMX233) || \ |
981 | (defined(HAVE_LCD_COLOR) && \ | 986 | (defined(HAVE_LCD_COLOR) && (LCD_STRIDEFORMAT == HORIZONTAL_STRIDE)) |
982 | (!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))) | ||
983 | #define HAVE_SEMAPHORE_OBJECTS | 987 | #define HAVE_SEMAPHORE_OBJECTS |
984 | #endif | 988 | #endif |
985 | 989 | ||