Improve a debug log in freertos_update_threads()
To make the log more accurate and comprehensible. In case the offset is non-zero. Signed-off-by: Chao Du <duchao@eswincomputing.com>
This commit is contained in:
parent
9c3a4b458c
commit
9cc6749370
|
@ -590,7 +590,7 @@ static int freertos_update_threads(struct rtos *rtos)
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
LOG_DEBUG("FreeRTOS: Read thread count for list %u at 0x%" PRIx64 ", value %" PRIu64,
|
LOG_DEBUG("FreeRTOS: Read thread count for list %u at 0x%" PRIx64 ", value %" PRIu64,
|
||||||
i, list_of_lists[i], list_thread_count);
|
i, list_of_lists[i] + freertos->list_uxNumberOfItems_offset, list_thread_count);
|
||||||
|
|
||||||
if (list_thread_count == 0)
|
if (list_thread_count == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue