From 7028e2a81201fc60d09ab8b000331bba515ffea2 Mon Sep 17 00:00:00 2001 From: nur Date: Mon, 18 Jan 2021 11:21:35 +0800 Subject: [PATCH] Fix heap size --- Source/preinclude.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/preinclude.h b/Source/preinclude.h index 1a5e2c9..0ad206a 100644 --- a/Source/preinclude.h +++ b/Source/preinclude.h @@ -44,7 +44,7 @@ #define CO2_UART_PORT 0x00 #define HAL_UART_DMA 1 #define HAL_UART_ISR 0 - #define INT_HEAP_LEN 2256 + #define INT_HEAP_LEN (2256 - 0xE) #elif defined(HAL_BOARD_CHDTECH_DEV) #define HAL_UART_DMA 1 #define HAL_UART_ISR 2