diff --git a/lib/Figure.cpp b/lib/Figure.cpp index 438fe4d..4264840 100644 --- a/lib/Figure.cpp +++ b/lib/Figure.cpp @@ -30,7 +30,7 @@ #define C(c,r) ((c << 4) | r) -PROGMEM uint8_t figuresData[][14] = { +PROGMEM const uint8_t figuresData[][14] = { { C(0,0), C(1,0), C(2,0), C(0,1), C(2,1), C(0,2), C(2,2), C(0,3), C(2,3), C(0,4), C(1,4), C(2,4), 255, 255 }, { C(1,0), C(0,1), C(1,1), C(1,2), C(1,3), C(0,4), C(1,4), C(2,4), 255, 255, 255, 255, 255, 255 }, { C(0,0), C(1,0), C(2,0), C(2,1), C(1,2), C(0,3), C(0,4), C(1,4), C(2,4), 255, 255, 255, 255, 255 }, diff --git a/lib/examples/LoLShield_BasicTest/LoLShield_BasicTest.pde b/lib/examples/LoLShield_BasicTest/LoLShield_BasicTest.pde index 689908e..e18688b 100644 --- a/lib/examples/LoLShield_BasicTest/LoLShield_BasicTest.pde +++ b/lib/examples/LoLShield_BasicTest/LoLShield_BasicTest.pde @@ -47,7 +47,7 @@ with our RAM. You cannot change the array during run-time, only when you upload to the Arduino. You will need to pull it out of ROM, which is covered below. If you want it to stay in RAM, just delete PROGMEM */ -uint16_t BitMap[][9] PROGMEM = { +PROGMEM const uint16_t BitMap[][9] = { //Diaganal swipe across the screen {1, 0, 0, 0, 0, 0, 0, 0, 0}, {3, 1, 0, 0, 0, 0, 0, 0, 0},