This commit is contained in:
JiXieShi
2024-09-21 23:07:22 +08:00
parent 6c9a999c71
commit 8f7f72712c
27 changed files with 100 additions and 81 deletions

View File

@@ -5,6 +5,6 @@
#ifndef HW_LIB_T_IIC_H
#define HW_LIB_T_IIC_H
void Test_iic(void *pVoid);
int Test_iic(void *pVoid);
#endif //HW_LIB_T_IIC_H

View File

@@ -28,7 +28,7 @@ uint8_t SDA_Read() {
return l;
}
void Test_iic(void *pVoid) {
int Test_iic(void *pVoid) {
SW_Dev_IIC dev = {
.CLK_SET = CLK_Pin,
.SDA_SET = SDA_Set,