From 7a67526ee4c5c0664e2b8b9a56e86a82eb9b238a Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期五, 10 十二月 2021 17:32:39 +0800
Subject: [PATCH] 0

---
 Src/application/dw_app.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Src/application/dw_app.c b/Src/application/dw_app.c
index 9306e9f..20231a7 100644
--- a/Src/application/dw_app.c
+++ b/Src/application/dw_app.c
@@ -1013,7 +1013,7 @@
 	
 	//LED0_ON;
 	SPIx_CS_GPIO->BRR = SPIx_CS;
-	delay_us(700);
+	delay_us(2700);
     GetPressAndHeight();
     intheight = Height*100;
 	SPIx_CS_GPIO->BSRR = SPIx_CS;
@@ -1021,6 +1021,7 @@
 	    while (DWT_DEVICE_ID != id) 
     {
 		//	Dw1000_Init();
+        delay_us(700);
 			id =  dwt_readdevid() ;
         IdleTask();	
         if(error_times++>20)

--
Gitblit v1.9.3