From 961c1174bbf1aaae5fa2f672806ed4eaf2f917be Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期三, 05 二月 2025 15:45:10 +0800 Subject: [PATCH] 串口传输协议加上一位指令类型 --- 01_SDK/nimble/host/nimble/porting/nimble/include/os/os.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/01_SDK/nimble/host/nimble/porting/nimble/include/os/os.h b/01_SDK/nimble/host/nimble/porting/nimble/include/os/os.h index a0164b9..0480294 100644 --- a/01_SDK/nimble/host/nimble/porting/nimble/include/os/os.h +++ b/01_SDK/nimble/host/nimble/porting/nimble/include/os/os.h @@ -56,6 +56,11 @@ #include "os/os_mbuf.h" #include "os/os_mempool.h" +// panchip add +#include "utility.h" +#define nimble_mem_alloc(size) pvPortMalloc(size) +#define nimble_mem_free(p) vPortFree(p) + #ifdef __cplusplus } #endif -- Gitblit v1.9.3