From ae0ac687e1b68ed3c067deb67dffaea9582f329c Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期四, 23 十一月 2023 16:55:35 +0800 Subject: [PATCH] V1.2 修改继电器报警错误 --- 源码/核心板/Src/OnChipDevices/Spi.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Spi.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Spi.c" index 9ac47cf..22dd470 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Spi.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Spi.c" @@ -76,10 +76,10 @@ */ int writetospi ( - uint16 headerLength, - const uint8 *headerBuffer, - uint32 bodylength, - const uint8 *bodyBuffer + uint16_t headerLength, + const uint8_t *headerBuffer, + uint32_t bodylength, + const uint8_t *bodyBuffer ) { @@ -127,10 +127,10 @@ */ int readfromspi ( - uint16 headerLength, - const uint8 *headerBuffer, - uint32 readlength, - uint8 *readBuffer + uint16_t headerLength, + const uint8_t *headerBuffer, + uint32_t readlength, + uint8_t *readBuffer ) { -- Gitblit v1.9.3