mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-29 03:14:04 +00:00
Added printf format modifier for mem_size_t depending on heap size
This commit is contained in:
parent
46b7bd6ec3
commit
7e9eb55350
@ -70,8 +70,10 @@ typedef size_t mem_size_t;
|
||||
*/
|
||||
#if MEM_SIZE > 64000l
|
||||
typedef u32_t mem_size_t;
|
||||
#define MEM_SIZE_F U32_F
|
||||
#else
|
||||
typedef u16_t mem_size_t;
|
||||
#define MEM_SIZE_F U16_F
|
||||
#endif /* MEM_SIZE > 64000 */
|
||||
|
||||
#if MEM_USE_POOLS
|
||||
|
Loading…
Reference in New Issue
Block a user