aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_pwm_output.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2014-01-22 16:33:35 +1100
committerLorenz Meier <lm@inf.ethz.ch>2014-01-23 21:40:29 +0100
commitdda50c62bfd26463718f50d2f9c1cdbecc7de4ac (patch)
treef8bb64ec65dc6c60c4c2cebccb5cb882b8373655 /src/drivers/drv_pwm_output.h
parent1afe7f2c50016fbb39cb532252be171ba03ad357 (diff)
downloadpx4-firmware-dda50c62bfd26463718f50d2f9c1cdbecc7de4ac.tar.gz
px4-firmware-dda50c62bfd26463718f50d2f9c1cdbecc7de4ac.tar.bz2
px4-firmware-dda50c62bfd26463718f50d2f9c1cdbecc7de4ac.zip
hmc5883: much faster calibration code with bug fixes
this fixes two bugs in "hmc5883 calibrate" and also makes it much faster, so it can be run on every boot. It now uses the correct 2.5Ga range when calibrating, and fixes the expected values for X/Y/Z axes The basic calibration approach is similar to the APM2 driver, waiting for 10 good samples after discarding some initial samples. That allows the calibration to run fast enough that it can be done on every boot without causing too much boot delay.
Diffstat (limited to 'src/drivers/drv_pwm_output.h')
0 files changed, 0 insertions, 0 deletions