From 5b9fe9e98da8ade6a4292f2a48e94c4c488bbb59 Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Mon, 12 Oct 2026 09:57:12 +0800 Subject: [PATCH] =?UTF-8?q?rb-core=20v1.0=20build=20[2026-10-12=2009:47:33?= =?UTF-8?q?]=20by=20BINGOOPRO=20=E5=B7=B2=E8=B0=83=E9=80=9Aymodem=E6=94=B6?= =?UTF-8?q?=E5=8F=91=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/Src/main.c | 13 +++++++++++-- robot | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Core/Src/main.c b/Core/Src/main.c index 6ca5d76..74b5362 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -32,7 +32,7 @@ /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ - +#include "bsp_uart.h" /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ @@ -66,7 +66,16 @@ void MX_FREERTOS_Init(void); /* Private user code ---------------------------------------------------------*/ /* USER CODE BEGIN 0 */ - +#if !defined(CONFIG_UART_IT_IDLEDMA) && !defined(BUILD_RBCORE) +extern TComCtrl *g_ptCom1; +void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) +{ + if (huart->Instance == USART3) + { + UART_RX_IRQHandler(g_ptCom1); + } +} +#endif /* USER CODE END 0 */ /** diff --git a/robot b/robot index d64aa4f..ac42409 160000 --- a/robot +++ b/robot @@ -1 +1 @@ -Subproject commit d64aa4f291afe549bd70c0f52b3d04951605d4f4 +Subproject commit ac4240918e6caf25114bad3807dc6c040c6ea4c4