diff options
| author | Lucian Copeland <hierophect@gmail.com> | 2020-05-29 12:19:37 -0400 |
|---|---|---|
| committer | Lucian Copeland <hierophect@gmail.com> | 2020-05-29 12:19:37 -0400 |
| commit | fe75c7793c9b7e18c35935befabdfa3892acc364 (patch) | |
| tree | 5e587d7168343402c45b0bca2aa6368e35366417 /ports/stm | |
| parent | 9ee278d2ac8e23aac2c5235ddff4dae6349f7468 (diff) | |
Fix SWO/Analog overlap, style changes
Diffstat (limited to 'ports/stm')
| -rw-r--r-- | ports/stm/common-hal/busio/I2C.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm/common-hal/busio/I2C.c b/ports/stm/common-hal/busio/I2C.c index e3c59e7e0..48c4c1933 100644 --- a/ports/stm/common-hal/busio/I2C.c +++ b/ports/stm/common-hal/busio/I2C.c @@ -122,7 +122,7 @@ void common_hal_busio_i2c_construct(busio_i2c_obj_t *self, #if (CPY_STM32H7 || CPY_STM32F7) self->handle.Init.Timing = 0x40604E73; //Taken from STCube examples #else - self->handle.Init.ClockSpeed = 100000; + self->handle.Init.ClockSpeed = frequency; self->handle.Init.DutyCycle = I2C_DUTYCYCLE_2; #endif |
