You need to sign in or sign up before continuing.
未验证 提交 d4ba7946 编写于 作者: O openharmony_ci 提交者: Gitee

!6396 【注释】driver-spi-des文档示例代码注释对齐

Merge pull request !6396 from rt375301/master
...@@ -91,7 +91,7 @@ DevHandle SpiOpen(const struct SpiDevInfo *info); ...@@ -91,7 +91,7 @@ DevHandle SpiOpen(const struct SpiDevInfo *info);
``` ```
struct SpiDevInfo spiDevinfo; /* SPI设备描述符 */ struct SpiDevInfo spiDevinfo; /* SPI设备描述符 */
DevHandle spiHandle = NULL; /* SPI设备句柄 */ DevHandle spiHandle = NULL; /* SPI设备句柄 */
spiDevinfo.busNum = 0; /* SPI设备总线号 */ spiDevinfo.busNum = 0; /* SPI设备总线号 */
spiDevinfo.csNum = 0; /* SPI设备片选号 */ spiDevinfo.csNum = 0; /* SPI设备片选号 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册