diff options
author | sjwilks <sjwilks@gmail.com> | 2014-08-18 20:52:32 +0200 |
---|---|---|
committer | sjwilks <sjwilks@gmail.com> | 2014-08-18 20:52:32 +0200 |
commit | 52247964553541cdec3f1002c9c6aa729b2f3694 (patch) | |
tree | 9c2056c1ad368fe6d2c47494aba8fcccb27ec791 | |
parent | 9e82f14ad805dab3be7fcba701430db54c4b339f (diff) | |
parent | 966e9d3f0ae6747b7ecfdb40c628fec98cfaa7ce (diff) | |
download | px4-firmware-52247964553541cdec3f1002c9c6aa729b2f3694.tar.gz px4-firmware-52247964553541cdec3f1002c9c6aa729b2f3694.tar.bz2 px4-firmware-52247964553541cdec3f1002c9c6aa729b2f3694.zip |
Merge pull request #1292 from PX4/as_fix
Airspeed fix attempt
-rw-r--r-- | src/drivers/airspeed/airspeed.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/drivers/airspeed/airspeed.cpp b/src/drivers/airspeed/airspeed.cpp index 41942aacd..293690d27 100644 --- a/src/drivers/airspeed/airspeed.cpp +++ b/src/drivers/airspeed/airspeed.cpp @@ -165,7 +165,7 @@ Airspeed::probe() */ _retries = 4; int ret = measure(); - _retries = 2; + _retries = 0; return ret; } @@ -381,7 +381,10 @@ Airspeed::cycle_trampoline(void *arg) Airspeed *dev = (Airspeed *)arg; dev->cycle(); - dev->update_status(); + // XXX we do not know if this is + // really helping - do not update the + // subsys state right now + //dev->update_status(); } void |