Sfoglia il codice sorgente

Merge pull request #12 from sej7278/master

Fix for newer GCC versions (const)
Paint Your Dragon 12 anni fa
parent
commit
1ca9286a61
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      glcdfont.c

+ 1 - 1
glcdfont.c

@@ -6,7 +6,7 @@
 
 // standard ascii 5x7 font
 
-static unsigned char  font[] PROGMEM = {
+static const unsigned char  font[] PROGMEM = {
         0x00, 0x00, 0x00, 0x00, 0x00,   
 	0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 	
 	0x3E, 0x6B, 0x4F, 0x6B, 0x3E,