From a4e5aba21e022750633039fab9efa4119062e096 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sat, 22 Oct 2011 02:06:07 +0000 Subject: [PATCH] Fix character encodings of st provided files. --- example/lcd/stm32l_discovery_lcd.c | 4 ++-- example/lcd/stm32l_discovery_lcd.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/lcd/stm32l_discovery_lcd.c b/example/lcd/stm32l_discovery_lcd.c index 64163de..982a5f2 100644 --- a/example/lcd/stm32l_discovery_lcd.c +++ b/example/lcd/stm32l_discovery_lcd.c @@ -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 '%' : diff --git a/example/lcd/stm32l_discovery_lcd.h b/example/lcd/stm32l_discovery_lcd.h index d496b84..bb8b0d7 100644 --- a/example/lcd/stm32l_discovery_lcd.h +++ b/example/lcd/stm32l_discovery_lcd.h @@ -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 */ -- 2.47.2