Explorar o código

fix:spi.half应为0

Dozingfiretruck %!s(int64=4) %!d(string=hai) anos
pai
achega
dde1470963
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      luat/modules/luat_lib_spi.c

+ 1 - 1
luat/modules/luat_lib_spi.c

@@ -599,7 +599,7 @@ static const rotable_Reg_t reg_spi[] =
     { "master",            ROREG_INT(1)},
     { "slave",             ROREG_INT(2)},
     { "full",              ROREG_INT(1)},
-    { "half",              ROREG_INT(2)},
+    { "half",              ROREG_INT(0)},
 
     { "SPI_0",             ROREG_INT(0)},
     { "SPI_1",             ROREG_INT(1)},