kopia lustrzana https://github.com/stlink-org/stlink
Fix character encodings of st provided files.
rodzic
46f1a7f29a
commit
a4e5aba21e
|
@ -281,7 +281,7 @@ static void LCD_Conv_Char_Seg(uint8_t* c,bool point,bool column, uint8_t* digit)
|
|||
ch = star;
|
||||
break;
|
||||
|
||||
case 'µ' :
|
||||
case 'µ' :
|
||||
ch = C_UMAP;
|
||||
break;
|
||||
|
||||
|
@ -301,7 +301,7 @@ static void LCD_Conv_Char_Seg(uint8_t* c,bool point,bool column, uint8_t* digit)
|
|||
ch = C_slatch;
|
||||
break;
|
||||
|
||||
case '°' :
|
||||
case '°' :
|
||||
ch = C_percent_1;
|
||||
break;
|
||||
case '%' :
|
||||
|
|
|
@ -85,7 +85,7 @@ MSB { 1 , 1 , 0 , 0 }
|
|||
#define BAR3_ON t_bar[0] |= 2
|
||||
#define BAR3_OFF t_bar[0] &= ~2
|
||||
|
||||
/* code for 'µ' character */
|
||||
/* code for 'µ' character */
|
||||
#define C_UMAP 0x6084
|
||||
|
||||
/* code for 'm' character */
|
||||
|
@ -103,7 +103,7 @@ MSB { 1 , 1 , 0 , 0 }
|
|||
/* constant code for '/' */
|
||||
#define C_slatch 0x00c0
|
||||
|
||||
/* constant code for ° */
|
||||
/* constant code for ° */
|
||||
#define C_percent_1 0xec00
|
||||
|
||||
/* constant code for small o */
|
||||
|
|
Ładowanie…
Reference in New Issue