Commit b5fcf438 authored by Jose Jimenez's avatar Jose Jimenez

debugger_sw/linux/time.c: Adepted to the time referece

Signed-off-by: 's avatarJose Jimenez <ppjm@correo.ugr.es>
parent 5320bc75
......@@ -12,11 +12,11 @@
#include <kernel2lm32_layer.h>
unsigned long msecs_to_jiffies(const unsigned int m){
return m*20*1000;
return m;
}
unsigned int jiffies_to_msecs(const unsigned long j){
return div_u64_rem(j, 20*1000, NULL);
return j;
}
void getnstimeofday (struct timespec *ts){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment