From a48468590ab83e808191c0e20c236d7eb6c13f0d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 12 Oct 2019 23:23:36 +0100 Subject: Remove i2c logic for STM32F103xB in favour of USE_I2CV1 (#6926) * Remove i2c logic for STM32F103xB in favour of USE_I2CV1 * Remove i2c logic for STM32F103xB in favour of USE_I2CV1 --- keyboards/ergodox_stm32/config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'keyboards') diff --git a/keyboards/ergodox_stm32/config.h b/keyboards/ergodox_stm32/config.h index 530565521..e1b3d7b14 100644 --- a/keyboards/ergodox_stm32/config.h +++ b/keyboards/ergodox_stm32/config.h @@ -33,3 +33,7 @@ along with this program. If not, see . keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ ) + +// i2c_master driver config +#define I2C1_CLOCK_SPEED 400000 +#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2 -- cgit v1.2.3