aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/px4io
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-05-02 21:27:20 +1000
committerAndrew Tridgell <tridge@samba.org>2013-05-04 19:18:51 +1000
commitaf27101ffecf2ad4642b1ced23640ff133c7246f (patch)
tree37a730ac165d412aa6cd2b246affbf1b4dfde3bc /src/drivers/px4io
parent44015d69154062d42ecc3aa0c9b25d7019bd5a71 (diff)
downloadpx4-firmware-af27101ffecf2ad4642b1ced23640ff133c7246f.tar.gz
px4-firmware-af27101ffecf2ad4642b1ced23640ff133c7246f.tar.bz2
px4-firmware-af27101ffecf2ad4642b1ced23640ff133c7246f.zip
px4io: changed adc_measure() to return 0xffff on error, and lower timeout
the timeout of 1ms was far too long, and could impact flight performance Returning 0xffff on error matches the FMU code, and allows bad values to be discarded
Diffstat (limited to 'src/drivers/px4io')
0 files changed, 0 insertions, 0 deletions