1
0
Fork 0

Remove redundant I2C config defines from keyboards (#11661)

This commit is contained in:
Ryan 2021-01-25 16:37:53 +11:00 committed by GitHub
parent 66836effda
commit c65aecc53a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 26 deletions

View file

@ -70,13 +70,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// OLED defines
#define OLED_TIMEOUT 60000
/* Both pins are in bank B */
#define I2C1_SCL 6 // B6
#define I2C1_SDA 7 // B7
#define I2C1_SCL_PAL_MODE 1
#define I2C1_SDA_PAL_MODE 1
/* This configures the I2C clock to 400khz assuming a 48Mhz clock */
#define I2C1_TIMINGR_PRESC 0U
#define I2C1_TIMINGR_SCLDEL 3U
#define I2C1_TIMINGR_SDADEL 1U
#define I2C1_TIMINGR_SCLH 3U