summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/VOSS/src/vos_trace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/VOSS/src/vos_trace.c b/CORE/VOSS/src/vos_trace.c
index ea81ece70c25..6827aaca9ab7 100644
--- a/CORE/VOSS/src/vos_trace.c
+++ b/CORE/VOSS/src/vos_trace.c
@@ -59,6 +59,7 @@
Include Files
------------------------------------------------------------------------*/
#include <vos_trace.h>
+#include <aniGlobal.h>
/*--------------------------------------------------------------------------
Preprocessor definitions and constants
------------------------------------------------------------------------*/
@@ -239,10 +240,10 @@ void kmsgwconnBuffWrite(const char *wconnlogstrRead)
const char *pwconnlogstr = wconnlogstrRead;
static const char num[16] = {'0','1','2','3','4','5','6','7','8','9','A',
'B','C','D','E','F'};
- unsigned int timetick;
+ v_TIME_t timetick;
int bits; /*timetick for now returns 32 bit number*/
- timetick = ( jiffies_to_msecs(jiffies) / 10 );
+ timetick = vos_timer_get_system_time();
bits = sizeof(timetick) * 8/*number of bits in a byte*/;
kmsgwconnstrlogchar('[');