timer: Fix timer calibration logic.
authorFarshad Ghanei <farshadg@buffalo.edu>
Wed, 28 Mar 2018 17:34:35 +0000 (13:34 -0400)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 31 Mar 2018 17:12:01 +0000 (10:12 -0700)
commit401dd5daed126bbd29ca582a2e6ab6a0e786aac8
tree3375e8b13945a6ed6da1e0ce869646a7113ccd62
parent1bdc52e105849c029c8d6e9dfde505a66d91c5da
timer: Fix timer calibration logic.

loops_per_tick calculation should get updated with loops_per_tick, not with
high_bit.
src/devices/timer.c