From 829cbbe0ef28512b3407c89d2135462a5e9f6236 Mon Sep 17 00:00:00 2001 From: Mitch Lustig Date: Fri, 15 Apr 2022 09:37:39 -0700 Subject: [PATCH] Increase i2c_bb frequency to 400khz --- i2c_bb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i2c_bb.c b/i2c_bb.c index 2a4da471..b5cfb723 100644 --- a/i2c_bb.c +++ b/i2c_bb.c @@ -263,5 +263,5 @@ static bool clock_stretch_timeout(i2c_bb_state *s) { } static void i2c_delay(void) { - timer_sleep(1e-6); + timer_sleep(2.5e-7); }