Skip to content

Commit 4a1e87b

Browse files
committed
Allow CYRILLIC to build
1 parent a23b184 commit 4a1e87b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/MarlinSimulator/hardware/HD44780Device.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,12 @@ HD44780Device::HD44780Device(pin_type rs, pin_type en, pin_type d4, pin_type d5,
3838
active_rom = hd44780_a00_rom;
3939
#elif DISPLAY_CHARSET_HD44780 == WESTERN
4040
active_rom = hd44780_a02_rom;
41+
#elif DISPLAY_CHARSET_HD44780 == CYRILLIC
42+
active_rom = hd44780_a02_rom;
43+
#warning "CYRILLIC HD44780 Character ROM not available. Falling back to WESTERN."
4144
#else
42-
#error Unavailable HD44780 Character ROM
45+
active_rom = hd44780_a02_rom;
46+
#warning "Unknown HD44780 Character ROM. Falling back to WESTERN."
4347
#endif
4448
}
4549

0 commit comments

Comments
 (0)