Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 257a1ec6 authored by Sebastien Royen's avatar Sebastien Royen Committed by Dmitry Torokhov
Browse files

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: default avatarSebastien Royen <sebastien.royen@armadeus.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 80e3e532
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment