From ada6a84785213ed6c70ac96b8d7465ff7eed7ac0 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sun, 15 Oct 2017 22:37:41 +0200 Subject: [PATCH] Fix documentation on relocating memory pools --- src/include/lwip/memp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/memp.h b/src/include/lwip/memp.h index 83a27e6e..1630b26c 100644 --- a/src/include/lwip/memp.h +++ b/src/include/lwip/memp.h @@ -90,7 +90,7 @@ extern const struct memp_desc* const memp_pools[MEMP_MAX]; * - free: LWIP_MEMPOOL_FREE(my_private_pool, my_new_mem); * * To relocate a pool, declare it as extern in cc.h. Example for GCC: - * extern u8_t \_\_attribute\_\_((section(".onchip_mem"))) memp_memory_my_private_pool[]; + * extern u8_t \_\_attribute\_\_((section(".onchip_mem"))) memp_memory_my_private_pool_base[]; */ #define LWIP_MEMPOOL_DECLARE(name,num,size,desc) \ LWIP_DECLARE_MEMORY_ALIGNED(memp_memory_ ## name ## _base, ((num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size)))); \