From 2e9ebd1f7daf51ed774ffea94a0dec451277def6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=5F666?= <13089258+pony-six-hundred-and-sixty-six@user.noreply.gitee.com> Date: Fri, 30 May 2025 10:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BA=86=E4=B8=80=E4=B8=8B=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APP/multiCentral.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APP/multiCentral.c b/APP/multiCentral.c index 3fbc312..5644088 100644 --- a/APP/multiCentral.c +++ b/APP/multiCentral.c @@ -34,13 +34,13 @@ uint8_t bt_conncet_cnt = 0; #define DEFAULT_MAX_SCAN_RES 1 // Scan duration in 0.625ms -#define DEFAULT_SCAN_DURATION 1600 * 3 // 2400*0.625 = 1500ms +#define DEFAULT_SCAN_DURATION (1600 * 3) // 2400*0.625 = 1500ms // Connection min interval in 1.25ms #define DEFAULT_MIN_CONNECTION_INTERVAL (80 * 4) // Connection max interval in 1.25ms -#define DEFAULT_MAX_CONNECTION_INTERVAL 80 * 5 +#define DEFAULT_MAX_CONNECTION_INTERVAL 80 * 6 // Connection supervision timeout in 10ms #define DEFAULT_CONNECTION_TIMEOUT (100 * 3)