From 4b421322afff4020c6b2c1bece996a7f9cd67337 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 18 四月 2024 16:53:09 +0800 Subject: [PATCH] V2.4 --- 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