From 608c1a243525fa97c5df29e758280916bf66cbc2 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期二, 08 二月 2022 16:12:26 +0800
Subject: [PATCH] V1.47 去掉持续滤波和继电器

---
 源码/核心板/Src/OnChipDevices/Usart.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Usart.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Usart.c"
index 90c60fd..a79d9b1 100644
--- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Usart.c"
+++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/OnChipDevices/Usart.c"
@@ -86,7 +86,7 @@
 	
 	//初始化管脚
 	GPIO_InitStructure.GPIO_Pin = EU_RX_PIN;
-	GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING;							//Rx上拉输入
+	GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU;							//Rx上拉输入
 	GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
 	GPIO_Init(EU_RX_GPIO, &GPIO_InitStructure);
 	
@@ -313,6 +313,8 @@
 		t4++;
 		#ifdef BAUDRATE_19200
 		delay_us(500);
+		#else
+		delay_us(10);
 		#endif
 //		temp32 = GPIOC->CRH;			//C10复用推挽输出
 //		temp32 &= ~(0x00000000F<<8);

--
Gitblit v1.9.3