aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDavid Veenstra <[email protected]>2018-05-18 20:23:14 +0200
committerJonathan Cameron <[email protected]>2018-05-20 12:09:47 +0100
commitf9db7370be0e93ce4264781e1ada631a32a61e9b (patch)
tree695f65399bc455771f5ed5a76edb64337c65c8cb /tools/perf/scripts/python/export-to-sqlite.py
parentd3e6ed841671de3b25776b5e91f33112e8f5bca6 (diff)
staging: iio: ad2s1200: Add scaling factor for angle channel
A scaling factor of approximately 2 * Pi / (2^12 -1) is added, to scale the 12-bits angular position to radians. A return type of IIO_VAL_INT_PLUS_NANO is used, so that the scale of both the angle channel and angular velocity channel has 7 significant digits. Signed-off-by: David Veenstra <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions