From f40ebdcaf53b523b7f8104ac6342517db0fa60c7 Mon Sep 17 00:00:00 2001 From: "Ben V. Brown" Date: Tue, 27 Apr 2021 19:55:01 +1000 Subject: [PATCH] Update Setup.c --- source/Core/BSP/MHP30/Setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Core/BSP/MHP30/Setup.c b/source/Core/BSP/MHP30/Setup.c index b000bfbb..d2bb1752 100644 --- a/source/Core/BSP/MHP30/Setup.c +++ b/source/Core/BSP/MHP30/Setup.c @@ -187,7 +187,7 @@ static void MX_ADC2_Init(void) { /* I2C1 init function */ static void MX_I2C1_Init(void) { hi2c1.Instance = I2C1; - hi2c1.Init.ClockSpeed = 75000; // TODO we can probs run this fast + hi2c1.Init.ClockSpeed = 300000; hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2; hi2c1.Init.OwnAddress1 = 0; hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;