Explorar el Código

fix: fatfs, API注释里spi id的中文注释是串口id

Wendal Chen hace 1 año
padre
commit
a8fde9d26c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/fatfs/luat_lib_fatfs.c

+ 1 - 1
components/fatfs/luat_lib_fatfs.c

@@ -53,7 +53,7 @@ extern const struct luat_vfs_filesystem vfs_fs_fatfs;
 -- 方法1, 使用SPI模式
     local spiId = 2
     local result = spi.setup(
-        spiId,--串口id
+        spiId,--spi id
         255, -- 不使用默认CS脚
         0,--CPHA
         0,--CPOL