From 658026e6267277b27d297c481728f74d160a8481 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 10:31:31 -0400 Subject: [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a --- firmware/include/rbunicode.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'firmware/include/rbunicode.h') diff --git a/firmware/include/rbunicode.h b/firmware/include/rbunicode.h index 077029304d..1af560abfe 100644 --- a/firmware/include/rbunicode.h +++ b/firmware/include/rbunicode.h @@ -33,8 +33,6 @@ #define MASK 0xC0 /* 11000000 */ #define COMP 0x80 /* 10x */ -#ifdef HAVE_LCD_BITMAP - enum codepages { ISO_8859_1 = 0, /* Latin1 */ ISO_8859_7, /* Greek */ @@ -55,23 +53,6 @@ enum codepages { INIT_CODEPAGE = ISO_8859_1, }; -#else /* !HAVE_LCD_BITMAP, reduced support */ - -enum codepages { - ISO_8859_1 = 0, /* Latin1 */ - ISO_8859_7, /* Greek */ - WIN_1251, /* Cyrillic */ - ISO_8859_9, /* Turkish */ - ISO_8859_2, /* Latin Extended */ - WIN_1250, /* Central European */ - WIN_1252, /* Western European */ - UTF_8, /* Unicode */ - NUM_CODEPAGES, - INIT_CODEPAGE = ISO_8859_1, -}; - -#endif - /* Encode a UCS value as UTF-8 and return a pointer after this UTF-8 char. */ unsigned char* utf8encode(unsigned long ucs, unsigned char *utf8); unsigned char* iso_decode(const unsigned char *latin1, unsigned char *utf8, int cp, int count); -- cgit v1.2.3