From 8e20afae32b9e4115caeea49a470016f71661555 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 09 一月 2025 09:25:33 +0800 Subject: [PATCH] 目前调试完毕 1s上发一次 适配最新板子 看门狗跟静止休眠能同时用,去掉了低功耗超链接模式目前 --- 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