From 631a90c1116fa33382a88a747c89bf761bc0fa9b Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 01 十一月 2024 16:32:38 +0800 Subject: [PATCH] 成功移植安邦手环升级UART1的BOOTV1.0,测试升级成功,可用稳定版本 --- dualboots_Gai_youhua/keil/customboot/include/drivers/ymodem.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/ymodem.c b/dualboots_Gai_youhua/keil/customboot/include/drivers/ymodem.c similarity index 99% rename from dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/ymodem.c rename to dualboots_Gai_youhua/keil/customboot/include/drivers/ymodem.c index 90ee85f..ed3fa8c 100644 --- a/dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/ymodem.c +++ b/dualboots_Gai_youhua/keil/customboot/include/drivers/ymodem.c @@ -149,7 +149,7 @@ { while (timeout-- > 0) { - if (Serial0KeyPressed(c) == 1)//如果收到串口数据 + if (SerialKeyPressed(c) == 1)//如果收到串口数据 { // Serial0_PutString("接受成功"); return 0; @@ -166,7 +166,7 @@ */ uint32_t Send_Byte (uint8_t c) { - Serial0PutChar(c);//已修改 + SerialPutChar(c);//已修改 return 0; } -- Gitblit v1.9.3