Browse Source

Fix ‘prog_uchar’ definition in LiquidCrystalRus.cpp

Sergey Taranenko 12 years ago
parent
commit
2a67363e27
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/LiquidCrystalRus.cpp

+ 2
- 1
Marlin/LiquidCrystalRus.cpp View File

@@ -1,3 +1,4 @@
1
+#define __PROG_TYPES_COMPAT__
1 2
 #include "LiquidCrystalRus.h"
2 3
 
3 4
 #include <stdio.h>
@@ -13,7 +14,7 @@
13 14
 
14 15
 // it is a russian alphabet translation
15 16
 // except 0401 --> 0xa2 = ╗, 0451 --> 0xb5
16
-PROGMEM prog_uchar utf_recode[] = 
17
+const PROGMEM prog_uchar utf_recode[] = 
17 18
        { 0x41,0xa0,0x42,0xa1,0xe0,0x45,0xa3,0xa4,0xa5,0xa6,0x4b,0xa7,0x4d,0x48,0x4f,
18 19
          0xa8,0x50,0x43,0x54,0xa9,0xaa,0x58,0xe1,0xab,0xac,0xe2,0xad,0xae,0x62,0xaf,0xb0,0xb1,
19 20
          0x61,0xb2,0xb3,0xb4,0xe3,0x65,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0x6f,

Loading…
Cancel
Save