Pass through invalid data rates to the backend instead of ignoring them
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>
Fri, 24 Aug 2012 12:10:57 +0000 (14:10 +0200)
committerThomas McGuire <thomas.mcguire@kdab.com>
Mon, 27 Aug 2012 08:17:36 +0000 (10:17 +0200)
commit9b9317839f163a3f8d0b61ac5c9e36ca89a80e8e
treee5657e2c8f8bb2aba1ad81232ee69b33cdfb0042
parent0a1aa5d84617f10c2cf7e371419e0b5a2616fcaf
Pass through invalid data rates to the backend instead of ignoring them

This gives the backend the chance to do something sensible with it, at
the expense of the data rate not being reported correctly in those
cases.

Change-Id: Iadf72b4448145f2454bc9422dde094ad799cb17a
plugins/sensors/blackberry/bbsensorbackend.cpp
src/sensors/qsensor.cpp
src/sensors/qsensor.h
tests/auto/qsensor/tst_qsensor.cpp