From 974cdfadc285e37b71f814167fd0de9387ed5bae Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Tue, 16 Jun 2026 13:15:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=B3=E9=94=AE=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E3=80=91=E4=BD=BF=E7=94=A8MEM=5FPOOL=5FTOTAL=5FSIZE=E5=AE=8F?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=9C=A8main=E5=87=BD=E6=95=B0=E4=B8=AD?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E7=94=A8=E6=96=B0=E6=9E=B6=E6=9E=84=E8=BF=98?= =?UTF-8?q?=E6=98=AF=E8=80=81=E6=9E=B6=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/Src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Core/Src/main.c b/Core/Src/main.c index 5b43ba9..532a88d 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -27,7 +27,8 @@ /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ -#ifdef BUILD_COMMON +#include "common_cfg.h" +#ifdef MEM_POOL_TOTAL_SIZE #include "common.h" #endif /* USER CODE END Includes */ @@ -107,7 +108,7 @@ int main(void) /* Infinite loop */ /* USER CODE BEGIN WHILE */ -#ifdef BUILD_COMMON +#ifdef MEM_POOL_TOTAL_SIZE RD_INIT(); void Myprint_Init(void); Myprint_Init();