Remove redundant I2C config defines from keyboards (#11661)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user