From 368f1d8d7df81e3b1354ee992430571d07816c4f Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 19 四月 2024 14:56:06 +0800 Subject: [PATCH] V2.5,限制基站数量最大8个 --- APL/dw_driver.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/APL/dw_driver.c b/APL/dw_driver.c index 0f4df4d..8de7bd8 100644 --- a/APL/dw_driver.c +++ b/APL/dw_driver.c @@ -13,7 +13,7 @@ { GPIO_InitTypeDef GPIO_InitStruct = {0}; - + deca_sleep(100); HAL_GPIO_WritePin(DW1000_RSTn_GPIO, DW1000_RSTn, GPIO_PIN_RESET); GPIO_InitStruct.Pin = DW1000_RSTn; @@ -24,7 +24,7 @@ //drive the RSTn pin low // GPIO_ResetBits(DW1000_RSTn_GPIO, DW1000_RSTn); - +deca_sleep(100); //put the pin back to tri-state ... as input GPIO_InitStruct.Pin = DW1000_RSTn; GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; -- Gitblit v1.9.3