From ec7fcd2c0c52ca05f5347bcf76fb5bd708d809a3 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 24 十一月 2020 11:10:39 +0800 Subject: [PATCH] 串口回复出厂设置 --- 源码/核心板/Src/OnChipDevices/Usart.c | 2 +- 1 files changed, 1 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 bcf91be..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); -- Gitblit v1.9.3