Make sure all PROGMEM data is const.

This commit is contained in:
root
2013-08-30 22:46:36 +00:00
parent e208b08fe0
commit 2688dd8738
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 },
@@ -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},