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)
commit52fd7eb25b15662abfacca92e20416cb29d85395
tree6c9a5c083bed96c9e58f0b1de99e40b06b9dd325
parentc3f2bdb4fcd99dca631962dccb21214e2847f3a3
timer: Fix timer calibration logic.

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