Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
Diff: source/borderrouter_helpers.c
- Revision:
- 69:a8a0ac9f3f8a
- Parent:
- 13:993808eb2e9c
- Child:
- 82:3d9e3b7b3dcf
--- a/source/borderrouter_helpers.c Tue Jun 19 12:45:23 2018 +0100 +++ b/source/borderrouter_helpers.c Wed Jun 20 12:01:14 2018 +0100 @@ -54,14 +54,11 @@ const mem_stat_t *heap_info = ns_dyn_mem_get_mem_stat(); if (heap_info) { tr_info( - "Heap size: %" PRIu16 ", " - "Reserved: %" PRIu16 ", " - "Reserved max: %" PRIu16 ", " - "Alloc fail: %" PRIu32 "" - ,heap_info->heap_sector_size - ,heap_info->heap_sector_allocated_bytes - ,heap_info->heap_sector_allocated_bytes_max - ,heap_info->heap_alloc_fail_cnt); + "Heap size: %lu, Reserved: %lu, Reserved max: %lu, Alloc fail: %lu" + ,(unsigned long)heap_info->heap_sector_size + ,(unsigned long)heap_info->heap_sector_allocated_bytes + ,(unsigned long)heap_info->heap_sector_allocated_bytes_max + ,(unsigned long)heap_info->heap_alloc_fail_cnt); } }