commit | ce5b8fc163619067aab157008daf5719cd38fdd1 | [log] [tgz] |
---|---|---|
author | Gregor Boirie <gregor.boirie@parrot.com> | Wed Feb 17 18:52:49 2016 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Feb 24 20:40:46 2016 +0000 |
tree | f603eeff9b64f5a5f2db04a778054d72cbe84024 | |
parent | fc0dccdda105be0026aa99271a42d06d20427641 [diff] |
iio:pressure:ms5611: fix ms5607 temp compensation Computation of sens2 was wrong and is fixed by this patch, sens2 should be: 2 * (t - 2000)^2 See page 8 of ms5607 datasheet here: http://www.meas-spec.com/product/pressure/MS5607-02BA03.aspx Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com> Acked-by: Lucas De Marchi <lucas.demarchi@intel.com> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>