Added printf format modifier for mem_size_t depending on heap size

This commit is contained in:
goldsimon 2010-03-26 15:38:01 +00:00
parent 46b7bd6ec3
commit 7e9eb55350

View File

@ -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