diff options
author | Sebastien Royen <sebastien.royen@armadeus.com> | 2013-03-31 00:24:13 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-03-31 00:48:10 -0700 |
commit | 257a1ec603538036a2f2ae7e8433d775b7a7588a (patch) | |
tree | aa03041b80f470f1f107fd9ca7f5cd92f62888c8 /Documentation | |
parent | 80e3e5328a9978fae3654ead657e9df653508713 (diff) |
Input: mma8450 - fix signed 12bits to 32bits conversion
Event value is wrong. Should be in range -2048 to 2047, but is in
range 0 to 4095. Use s8 to int conversion and remove 0xfff mask.
Signed-off-by: Sebastien Royen <sebastien.royen@armadeus.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions