Merge pull request #1300 from PX4/sensorswarnx

sensors: remove warnx
This commit is contained in:
Lorenz Meier 2014-08-21 12:50:29 +02:00
commit 29dba8dff3
1 changed files with 0 additions and 1 deletions

View File

@ -857,7 +857,6 @@ Sensors::parameters_update()
errx(1, "FATAL: no barometer found");
} else {
warnx("qnh ioctl, %lu", (unsigned long)(_parameters.baro_qnh * 100));
int ret = ioctl(fd, BAROIOCSMSLPRESSURE, (unsigned long)(_parameters.baro_qnh * 100));
if (ret) {
warnx("qnh could not be set");