|
@@ -316,7 +316,7 @@ int video_bmp_display(struct udevice *dev, ulong bmp_image, int x, int y,
|
|
|
}
|
|
|
break;
|
|
|
#endif /* CONFIG_BMP_16BPP */
|
|
|
-#if defined(CONFIG_BMP_24BMP)
|
|
|
+#if defined(CONFIG_BMP_24BPP)
|
|
|
case 24:
|
|
|
for (i = 0; i < height; ++i) {
|
|
|
for (j = 0; j < width; j++) {
|
|
@@ -328,7 +328,7 @@ int video_bmp_display(struct udevice *dev, ulong bmp_image, int x, int y,
|
|
|
fb -= priv->line_length + width * (bpix / 8);
|
|
|
}
|
|
|
break;
|
|
|
-#endif /* CONFIG_BMP_24BMP */
|
|
|
+#endif /* CONFIG_BMP_24BPP */
|
|
|
#if defined(CONFIG_BMP_32BPP)
|
|
|
case 32:
|
|
|
for (i = 0; i < height; ++i) {
|