diff options
author | Anatolij Gustschin <agust@denx.de> | 2018-12-01 15:30:08 +0100 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2018-12-04 19:47:20 +0100 |
commit | 96d82f6c860e3f7ce5c301a3d4fc5541b2ce713e (patch) | |
tree | 0c9ab61dc0bf22d78f52380b1ec35da0d325696b /common | |
parent | b0fcedb7ad5ccdb7e56ffebecd054059e9e1123e (diff) |
video: use BMP_ALIGN_CENTER define from splash.h
Drop BMP_ALIGN_CENTER define in lcd.c and video_bmp.c as it is
already defined by splash.h. Include splash.h in bmp code.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/lcd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/lcd.c b/common/lcd.c index 74407a17e97..cd630405d44 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -381,7 +381,6 @@ static inline void lcd_logo_plot(int x, int y) {} #if defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN) #ifdef CONFIG_SPLASH_SCREEN_ALIGN -#define BMP_ALIGN_CENTER 0x7FFF static void splash_align_axis(int *axis, unsigned long panel_size, unsigned long picture_size) |