Blackberry: Use the rotation matrix as the compass source
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>
Thu, 19 Jul 2012 11:46:28 +0000 (13:46 +0200)
committerThomas McGuire <thomas.mcguire.qnx@kdab.com>
Thu, 19 Jul 2012 12:27:59 +0000 (14:27 +0200)
commit45daf1432586349d2e36bd57b8ba2dbfc26d7f1e
tree3c2b66b1dafa8de08dc0a18d449818565499c246
parent342cec7da43a2a0d678cbb0f304c9d25a29e1b6c
Blackberry: Use the rotation matrix as the compass source

This fixes the flipped heading when turning the device upside-down.
Change-Id: I57bac63208d475d4091b47593b9768613eea30b0
plugins/sensors/blackberry/bbcompass.cpp