From 319d3730255f502c49cecfc5bdc28319e98d98db Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Thu, 21 Nov 2024 15:52:25 +0800 Subject: [PATCH] =?utf8?q?=E5=BB=B6=E9=95=BFi2c=20=E8=B6=85=E6=97=B6?= =?utf8?q?=E4=B8=BA=20500ms=20=E8=A7=A3=E5=86=B3=E5=BF=83=E7=8E=87?= =?utf8?q?=E8=AF=BB=E5=8F=96=E8=B6=85=E6=97=B6=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/drivers/chips/brandy/porting/include/i2c_porting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/drivers/chips/brandy/porting/include/i2c_porting.h b/code/sdk/drivers/chips/brandy/porting/include/i2c_porting.h index b13c12fab..83db1b08f 100755 --- a/code/sdk/drivers/chips/brandy/porting/include/i2c_porting.h +++ b/code/sdk/drivers/chips/brandy/porting/include/i2c_porting.h @@ -25,7 +25,7 @@ extern "C" { #ifdef TEST_SUITE #define CONFIG_I2C_WAIT_CONDITION_TIMEOUT 0xFFFFFFFFULL #else -#define CONFIG_I2C_WAIT_CONDITION_TIMEOUT 0x3ULL +#define CONFIG_I2C_WAIT_CONDITION_TIMEOUT 0x500ULL //根据设备要求,客户可以自行更改,目前是 心率读写可能需要更久,目前抓取到的最大300多ms,因此修改此timeout时间为500ms , 原来3ms #endif #define I2C_BUS_MAX_NUM I2C_BUS_MAX_NUMBER -- 2.17.1