X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fvideo_font_data.h;h=346a162f56fe7ef759d8ee5c29614fa70151f931;hb=b8bf55399273a7aba597b5687ef2180ec1d24122;hp=4e544f0d7f74a3107feefd535467ce934fbf49bb;hpb=1a4596601fd395f3afb8f82f3f840c5e00bdd57a;p=oweals%2Fu-boot.git diff --git a/include/video_font_data.h b/include/video_font_data.h index 4e544f0d7f..346a162f56 100644 --- a/include/video_font_data.h +++ b/include/video_font_data.h @@ -8,7 +8,12 @@ #ifndef _VIDEO_FONT_DATA_ #define _VIDEO_FONT_DATA_ -static unsigned char video_fontdata[VIDEO_FONT_SIZE] = { +#define VIDEO_FONT_CHARS 256 +#define VIDEO_FONT_WIDTH 8 +#define VIDEO_FONT_HEIGHT 16 +#define VIDEO_FONT_SIZE (VIDEO_FONT_CHARS * VIDEO_FONT_HEIGHT) + +static unsigned char __maybe_unused video_fontdata[VIDEO_FONT_SIZE] = { /* 0 0x00 '^@' */ 0x00, /* 00000000 */