1

make const

This commit is contained in:
2022-07-24 21:49:11 +02:00
parent 0ced077122
commit d78ba7d8e6
3 changed files with 5 additions and 5 deletions

View File

@ -6,9 +6,9 @@
/* */
/**********************************************/
constexpr unsigned int FONTDATAMAX_8x16 = 4096;
constexpr const unsigned int FONTDATAMAX_8x16 = 4096;
constexpr unsigned char fontdata_8x16[FONTDATAMAX_8x16] = {
constexpr const unsigned char fontdata_8x16[FONTDATAMAX_8x16] = {
/* 0 0x00 '^@' */
0x00, /* 00000000 */

View File

@ -6,9 +6,9 @@
/* */
/**********************************************/
constexpr unsigned int FONTDATAMAX_8x8 = 2048;
constexpr const unsigned int FONTDATAMAX_8x8 = 2048;
constexpr unsigned char fontdata_8x8[FONTDATAMAX_8x8] = {
constexpr const unsigned char fontdata_8x8[FONTDATAMAX_8x8] = {
/* 0 0x00 '^@' */
0x00, /* 00000000 */

View File

@ -2,7 +2,7 @@
/* Acorn-like font definition, with PC graphics characters */
constexpr unsigned char acorndata_8x8[] = {
constexpr const unsigned char acorndata_8x8[] = {
/* 00 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ^@ */
/* 01 */ 0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e, /* ^A */
/* 02 */ 0x7e, 0xff, 0xbd, 0xff, 0xc3, 0xe7, 0xff, 0x7e, /* ^B */