summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/kernel-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/kernel-unix.c')
-rw-r--r--firmware/target/hosted/kernel-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/kernel-unix.c b/firmware/target/hosted/kernel-unix.c
index 1ce4dd8a10..5e9204effd 100644
--- a/firmware/target/hosted/kernel-unix.c
+++ b/firmware/target/hosted/kernel-unix.c
@@ -104,7 +104,7 @@ void tick_start(unsigned int interval_in_ms)
104} 104}
105 105
106#define cycles_to_microseconds(cycles) \ 106#define cycles_to_microseconds(cycles) \
107 ((int)((1000000*cycles)/TIMER_FREQ)) 107 ((int)((10000*cycles)/(TIMER_FREQ / 100)))
108 108
109 109
110static timer_t timer_tid; 110static timer_t timer_tid;