Stefan Roese
22bb1a7a1b
video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled
...
Compiling the 'bmp' command with DM and having one of the following macros
enabled:
CONFIG_BMP_16BPP, CONFIG_BMP_24BPP ONFIG_BMP_32BPP
generates this error:
drivers/video/video_bmp.c: In function ‘video_bmp_display’:
drivers/video/video_bmp.c:315:22: error: ‘lcd_line_length’ undeclared (first use in this function)
fb -= width * 2 + lcd_line_length;
^
This patch moves to using the correct variable instead and enables the
'bmp' command for DM again.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Anatolij Gustschin <agust@denx.de>
2016-11-13 15:54:38 -05:00
..
2016-09-23 17:53:45 -04:00
2016-09-23 22:25:27 -04:00
2016-01-30 10:56:34 +01:00
2016-07-25 20:46:45 -06:00
2016-09-23 17:53:45 -04:00
2016-04-28 16:51:17 +02:00
2015-05-28 11:17:48 -04:00
2015-09-11 17:15:32 -04:00
2015-08-14 08:37:39 +02:00
2007-11-25 18:35:11 +01:00
2016-09-23 17:55:42 -04:00
2013-10-14 16:06:54 -04:00
2015-11-01 22:02:16 +01:00
2016-06-12 23:49:38 +02:00
2016-01-21 20:42:36 -07:00
2016-03-27 09:12:19 -04:00
2016-10-11 11:55:33 +08:00
2015-06-10 19:26:54 -06:00
2016-10-23 18:33:54 -04:00
2016-01-30 10:53:26 +01:00
2016-01-30 10:53:26 +01:00
2016-02-22 14:41:02 +01:00
2016-10-12 10:58:12 +08:00
2016-10-23 18:33:48 -04:00
2016-09-23 17:55:42 -04:00
2013-08-10 10:38:28 +02:00
2016-03-14 22:01:26 +01:00
2013-10-30 10:48:41 +01:00
2014-09-08 10:30:35 -07:00
2013-07-24 09:44:38 -04:00
2015-01-22 20:44:33 +01:00
2015-01-22 20:44:33 +01:00
2016-03-17 10:27:26 +08:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2015-11-30 09:18:36 +01:00
2015-04-20 09:36:59 +02:00
2016-10-11 11:55:33 +08:00
2016-10-23 18:33:57 -04:00
2013-08-10 09:31:04 +02:00
2013-07-24 09:44:38 -04:00
2015-09-02 15:38:16 +02:00
2016-10-23 18:33:43 -04:00
2015-10-11 17:12:09 -04:00
2015-03-24 10:50:50 -04:00
2016-01-23 22:58:07 +01:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2013-07-24 09:44:38 -04:00
2016-09-23 17:55:42 -04:00
2013-03-08 16:41:13 -05:00
2016-01-21 20:42:36 -07:00
2016-01-21 20:42:36 -07:00
2016-03-27 20:58:08 -04:00
2016-05-25 13:25:17 +09:00
2013-07-24 09:44:38 -04:00
2016-01-30 10:57:30 +01:00
2013-11-12 10:08:48 +01:00
2013-10-14 16:06:53 -04:00
2016-10-10 10:44:37 -07:00
2013-07-24 09:44:38 -04:00
2015-01-22 12:34:56 +01:00
2015-01-22 12:34:56 +01:00
2016-02-22 14:41:22 +01:00
2016-10-24 08:04:42 -04:00
2016-07-16 09:43:12 -04:00
2016-10-12 10:56:41 +08:00
2016-09-23 17:53:45 -04:00
2016-11-13 15:54:38 -05:00
2016-10-12 10:58:23 +08:00
2015-01-14 14:56:38 +01:00
2015-01-14 14:56:38 +01:00