Browse Source

Make sure a ROM is selected for ULTRA_LCD

Scott Lahteine 9 years ago
parent
commit
9eed8c8cf0
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/language.h

+ 3
- 2
Marlin/language.h View File

@@ -226,8 +226,7 @@
226 226
     #define STR_h3 "3"
227 227
     #define STR_Deg "\271"
228 228
     #define STR_THERMOMETER "\002"
229
-  #endif
230
-  #ifdef DISPLAY_CHARSET_HD44780_WESTERN // HD44780 ROM Code: A02 (Western)
229
+  #elif defined(DISPLAY_CHARSET_HD44780_WESTERN) // HD44780 ROM Code: A02 (Western)
231 230
     #define STR_Ae "\216"
232 231
     #define STR_ae "\204"
233 232
     #define STR_Oe "\211"
@@ -239,6 +238,8 @@
239 238
     #define STR_h3 "\263"
240 239
     #define STR_Deg "\337"
241 240
     #define STR_THERMOMETER "\002"
241
+  #elif defined(ULTRA_LCD)
242
+    #error You must enable either DISPLAY_CHARSET_HD44780_JAPAN or DISPLAY_CHARSET_HD44780_WESTERN for your LCD controller.
242 243
   #endif
243 244
 #endif
244 245
 /*

Loading…
Cancel
Save