[coreboot-gerrit] New patch to review for coreboot: 3f0fb7c mainboard/siemens/sitemp_g1p1/mainboard.c: Remove unicode in string

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Mon Dec 8 07:00:29 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7713

-gerrit

commit 3f0fb7ceebfd28bbcee52f69f46a5b1aec9081fc
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Mon Dec 8 15:57:22 2014 +1100

    mainboard/siemens/sitemp_g1p1/mainboard.c: Remove unicode in string
    
    Remove illegal character encoding in string literal.
    
    Change-Id: I3c8dc67363705a2160e8266d1cea78c0d34d076f
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/siemens/sitemp_g1p1/mainboard.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/mainboard/siemens/sitemp_g1p1/mainboard.c b/src/mainboard/siemens/sitemp_g1p1/mainboard.c
index 77be0af..f16ffe8 100644
--- a/src/mainboard/siemens/sitemp_g1p1/mainboard.c
+++ b/src/mainboard/siemens/sitemp_g1p1/mainboard.c
@@ -190,15 +190,15 @@ struct __table__ dutycycles[] = {
 #define DUTYCYCLE_INFO(i) (i < SIZEOF_DUTYCYCLES) ? dutycycles[i].info : "out_of_range"
 #if TWOS_COMPL == 0
 struct __table__ temperatures[] = {
-	{"30°C", 0x5e},{"35°C", 0x63},{"40°C", 0x68},{"45°C", 0x6d},{"50°C", 0x72},
-	{"55°C", 0x77},{"60°C", 0x7c},{"65°C", 0x81},{"70°C", 0x86},{"75°C", 0x8b},
-	{"80°C", 0x90}
+	{"30C", 0x5e},{"35C", 0x63},{"40C", 0x68},{"45C", 0x6d},{"50C", 0x72},
+	{"55C", 0x77},{"60C", 0x7c},{"65C", 0x81},{"70C", 0x86},{"75C", 0x8b},
+	{"80C", 0x90}
 };
 #else
 struct __table__ temperatures[] = {
-	{"30°C", 30},{"35°C", 35},{"40°C", 40},{"45°C", 45},{"50°C", 50},
-	{"55°C", 55},{"60°C", 60},{"65°C", 65},{"70°C", 70},{"75°C", 75},
-	{"80°C", 80}
+	{"30C", 30},{"35C", 35},{"40C", 40},{"45C", 45},{"50C", 50},
+	{"55C", 55},{"60C", 60},{"65C", 65},{"70C", 70},{"75C", 75},
+	{"80C", 80}
 };
 #endif
 int trange[] = {2.0,2.5,3.33,4.0,5.0,6.67,8.0,10.0,13.33,16.0,20.0,26.67,32.0,40.0,53.33,80.0};



More information about the coreboot-gerrit mailing list