fix IIC speed

This commit is contained in:
yelvlab 2024-12-07 15:33:31 +08:00
parent 7e05771ed8
commit 75f044a722

View File

@ -45,7 +45,7 @@ typedef enum {
I2C_STOP I2C_STOP
} i2c_process_enum; } i2c_process_enum;
#define I2C_SPEED 400000 #define I2C_SPEED 100000
#define RCU_IR_GPIO RCU_GPIOF #define RCU_IR_GPIO RCU_GPIOF
#define RCU_I2C RCU_I2C0 #define RCU_I2C RCU_I2C0
#define I2C_SCL_PORT GPIOF #define I2C_SCL_PORT GPIOF