From 3d92b44047c67c338fa78b0755124aa00733c285 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 27 Sep 2023 21:30:30 +0200 Subject: [PATCH] reduced time out for SCL --- armsrc/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/i2c.c b/armsrc/i2c.c index 42ed50910..be72657df 100644 --- a/armsrc/i2c.c +++ b/armsrc/i2c.c @@ -199,7 +199,7 @@ static bool WaitSCL_L(void) { // It timeout reading response from card // Which ever comes first static bool WaitSCL_L_timeout(void) { - volatile uint32_t delay = 1200; + volatile uint32_t delay = 800; while (delay--) { // exit on SCL LOW if (SCL_read == false)