make const
This commit is contained in:
@ -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 '^@' */
|
/* 0 0x00 '^@' */
|
||||||
0x00, /* 00000000 */
|
0x00, /* 00000000 */
|
||||||
|
@ -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 '^@' */
|
/* 0 0x00 '^@' */
|
||||||
0x00, /* 00000000 */
|
0x00, /* 00000000 */
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/* Acorn-like font definition, with PC graphics characters */
|
/* 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, /* ^@ */
|
/* 00 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ^@ */
|
||||||
/* 01 */ 0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e, /* ^A */
|
/* 01 */ 0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e, /* ^A */
|
||||||
/* 02 */ 0x7e, 0xff, 0xbd, 0xff, 0xc3, 0xe7, 0xff, 0x7e, /* ^B */
|
/* 02 */ 0x7e, 0xff, 0xbd, 0xff, 0xc3, 0xe7, 0xff, 0x7e, /* ^B */
|
||||||
|
Reference in New Issue
Block a user