From 9cc674937007a0d844d255a12908d5bed0ae07df Mon Sep 17 00:00:00 2001 From: duchao Date: Wed, 8 Feb 2023 03:01:57 +0000 Subject: [PATCH] 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 --- src/rtos/FreeRTOS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtos/FreeRTOS.c b/src/rtos/FreeRTOS.c index ee6bdb322..96b535d7c 100644 --- a/src/rtos/FreeRTOS.c +++ b/src/rtos/FreeRTOS.c @@ -590,7 +590,7 @@ static int freertos_update_threads(struct rtos *rtos) return retval; } 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) continue;