From 4279f06e2f9d87245ebe861151d74c3ca2080cde Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Mon, 18 Nov 2024 11:49:17 +0000 Subject: [PATCH] shorter strings in timer debug fn --- src/jstimer.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/jstimer.c b/src/jstimer.c index 9e9cbc2e5..2d7abd071 100644 --- a/src/jstimer.c +++ b/src/jstimer.c @@ -677,12 +677,10 @@ void jstDumpUtilityTimers() { hadTimers = true; UtilTimerTask task = uTimerTasks[t]; - jsiConsolePrintf("%08d us", (int)(1000*jshGetMillisecondsFromTime(task.time))); - jsiConsolePrintf(", repeat %08d us", (int)(1000*jshGetMillisecondsFromTime(task.repeatInterval))); - jsiConsolePrintf(" : "); + jsiConsolePrintf("%08d us, repeat %08d us : ", (int)(1000*jshGetMillisecondsFromTime(task.time)), (int)(1000*jshGetMillisecondsFromTime(task.repeatInterval))); switch (task.type) { - case UET_WAKEUP : jsiConsolePrintf("WAKEUP\n"); break; + case UET_WAKEUP : jsiConsolePrintf("WKUP\n"); break; case UET_SET : jsiConsolePrintf("SET "); for (i=0;i