[Bug] Xelus Keyboards 400kHz i2c fix (#15315)

* 400khz fix

* fix valor rev2 timing

* keep consistent
This commit is contained in:
Xelus22 2021-11-28 12:12:04 +11:00 committed by GitHub
parent 88fe5c16a5
commit eaf17b3260
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -50,10 +50,10 @@
#define I2C1_SCL_PAL_MODE 4
#define I2C1_SDA_PAL_MODE 4
#define I2C1_TIMINGR_PRESC 0U
#define I2C1_TIMINGR_SCLDEL 11U
#define I2C1_TIMINGR_SCLDEL 7U
#define I2C1_TIMINGR_SDADEL 0U
#define I2C1_TIMINGR_SCLH 14U
#define I2C1_TIMINGR_SCLL 42U
#define I2C1_TIMINGR_SCLH 45U
#define I2C1_TIMINGR_SCLL 149U
// I2C EEPROM
#define EEPROM_I2C_24LC64

View file

@ -50,10 +50,10 @@
#define I2C1_SCL_PAL_MODE 4
#define I2C1_SDA_PAL_MODE 4
#define I2C1_TIMINGR_PRESC 0U
#define I2C1_TIMINGR_SCLDEL 11U
#define I2C1_TIMINGR_SCLDEL 7U
#define I2C1_TIMINGR_SDADEL 0U
#define I2C1_TIMINGR_SCLH 14U
#define I2C1_TIMINGR_SCLL 42U
#define I2C1_TIMINGR_SCLH 45U
#define I2C1_TIMINGR_SCLL 149U
// I2C EEPROM
#define EEPROM_I2C_24LC64

View file

@ -52,10 +52,10 @@
#define I2C1_SCL_PAL_MODE 4
#define I2C1_SDA_PAL_MODE 4
#define I2C1_TIMINGR_PRESC 0U
#define I2C1_TIMINGR_SCLDEL 11U
#define I2C1_TIMINGR_SCLDEL 7U
#define I2C1_TIMINGR_SDADEL 0U
#define I2C1_TIMINGR_SCLH 14U
#define I2C1_TIMINGR_SCLL 42U
#define I2C1_TIMINGR_SCLH 45U
#define I2C1_TIMINGR_SCLL 149U
// I2C EEPROM
#define EEPROM_I2C_24LC64