From 319a783de00a44e1ba25c43bc6ec9cee4c81d3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 11 Jul 2022 18:50:20 +0200 Subject: [PATCH] =?UTF-8?q?increase=20I=C2=B2C=20sink=20speed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index e9a8a2d..fc35103 100644 --- a/main.c +++ b/main.c @@ -345,7 +345,7 @@ we will only be able to provide 1 extension block since we can only respond to o SCL_SNK_PU_PORT->CR1.reg |= SCL_SNK_PU_PIN; // switch pin to push pull SCL_SNK_PU_PORT->DDR.reg |= SCL_SNK_PU_PIN; // switch pin to output uint8_t i2c_rc = 1; // if the complete read succeeded - if (!softi2c_master_setup(1)) { // start the I²C master to talk to sink + if (!softi2c_master_setup(400)) { // start the I²C master to talk to sink i2c_rc = 2; goto i2c_end; }