diff options
Diffstat (limited to 'hw/tsc2005.c')
-rw-r--r-- | hw/tsc2005.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tsc2005.c b/hw/tsc2005.c index efc63c0..b75cc86 100644 --- a/hw/tsc2005.c +++ b/hw/tsc2005.c @@ -290,7 +290,7 @@ static void tsc2005_pin_update(TSC2005State *s) s->precision = s->nextprecision; s->function = s->nextfunction; s->pdst = !s->pnd0; /* Synchronised on internal clock */ - expires = qemu_get_clock(vm_clock) + (ticks_per_sec >> 7); + expires = qemu_get_clock(vm_clock) + (get_ticks_per_sec() >> 7); qemu_mod_timer(s->timer, expires); } |