Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup

This commit is contained in:
Lorenz Meier 2013-08-06 09:54:14 +02:00
commit 0012b39b37
2 changed files with 8 additions and 0 deletions

View File

@ -383,6 +383,10 @@ test()
warnx("diff pressure: %d pa", report.differential_pressure_pa); warnx("diff pressure: %d pa", report.differential_pressure_pa);
} }
/* reset the sensor polling to its default rate */
if (OK != ioctl(fd, SENSORIOCSPOLLRATE, SENSOR_POLLRATE_DEFAULT))
errx(1, "failed to set default rate");
errx(0, "PASS"); errx(0, "PASS");
} }

View File

@ -415,6 +415,10 @@ test()
warnx("temperature: %d C (0x%02x)", (int)report.temperature, (unsigned) report.temperature); warnx("temperature: %d C (0x%02x)", (int)report.temperature, (unsigned) report.temperature);
} }
/* reset the sensor polling to its default rate */
if (OK != ioctl(fd, SENSORIOCSPOLLRATE, SENSOR_POLLRATE_DEFAULT))
errx(1, "failed to set default rate");
errx(0, "PASS"); errx(0, "PASS");
} }