-
Alessandro Rubini authored
Part of the calculation was wrong, so offsets didn't properly work. This commit fixes the offsets and turns their user-accessible values from 0..0xfff to -5000..5000 as they are now expressed in millivolts. Unfortunately the code changes more than strictly necessary. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
29c4d67d