From 35fc9734214d6c37d1f281d27689d4aa4e38efaa Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Thu, 18 Jun 2026 09:22:44 +0800 Subject: [PATCH] sub up --- Core/Src/main.c | 5 +++++ robot | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Core/Src/main.c b/Core/Src/main.c index 99d55e4..6076bd4 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -32,7 +32,10 @@ /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ +#include "common_cfg.h" +#ifdef MEM_POOL_TOTAL_SIZE #include "common.h" +#endif /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ @@ -126,7 +129,9 @@ int main(void) MX_LPUART1_UART_Init(); MX_ADC2_Init(); /* USER CODE BEGIN 2 */ +#ifdef MEM_POOL_TOTAL_SIZE RD_INIT(); +#endif /* USER CODE END 2 */ /* Init scheduler */ diff --git a/robot b/robot index f000839..807c9e4 160000 --- a/robot +++ b/robot @@ -1 +1 @@ -Subproject commit f0008394ad6df4007fcf65a61cbac7c386e0f1b6 +Subproject commit 807c9e444b571a585bb1bcf21abf0e625e59ca10