fix IIC speed

This commit is contained in:
2024-12-07 16:30:43 +08:00
parent 1d1c0fce21
commit e0b9aab103
2 changed files with 14 additions and 10 deletions

View File

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