Explorar o código

fix:bk编译失败

Dozingfiretruck hai 7 meses
pai
achega
e6f74b28c4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      components/lcd/luat_lib_lcd.c

+ 2 - 2
components/lcd/luat_lib_lcd.c

@@ -868,8 +868,8 @@ static uint8_t utf8_state;
 static uint16_t encoding;
 static uint16_t encoding;
 static uint16_t utf8_next(uint8_t b)
 static uint16_t utf8_next(uint8_t b)
 {
 {
-  if ( b == 0 )  /* '\n' terminates the string to support the string list procedures */
-    return 0x0ffff; /* end of string detected, pending UTF8 is discarded */
+    if ( b == 0 )  /* '\n' terminates the string to support the string list procedures */
+        return 0x0ffff; /* end of string detected, pending UTF8 is discarded */
     if ( utf8_state == 0 ){
     if ( utf8_state == 0 ){
         if ( b >= 0xfc )  /* 6 byte sequence */
         if ( b >= 0xfc )  /* 6 byte sequence */
         {
         {