mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user