Skip to content

Commit

Permalink
Fix: Potential data lost during int-double convertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ming,Bai committed Feb 29, 2012
1 parent 13508d4 commit 8909ee8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chains/accelerometerchain/accelerometerchain.cpp
Expand Up @@ -39,9 +39,9 @@
AccelerometerChain::AccelerometerChain(const QString& id) :
AbstractChain(id)
{
setMatrixFromString("1.0,0.0,0.0,\
0.0,1.0,0.0,\
0.0,0.0,1.0");
setMatrixFromString("1,0,0,\
0,1,0,\
0,0,1");
SensorManager& sm = SensorManager::instance();

accelerometerAdaptor_ = sm.requestDeviceAdaptor("accelerometeradaptor");
Expand Down

0 comments on commit 8909ee8

Please sign in to comment.