mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
Merge branch 'master' into fixedwing
This commit is contained in:
@@ -761,7 +761,7 @@ Sensors::adc_init()
|
|||||||
_fd_adc = open("/dev/adc0", O_RDONLY | O_NONBLOCK);
|
_fd_adc = open("/dev/adc0", O_RDONLY | O_NONBLOCK);
|
||||||
if (_fd_adc < 0) {
|
if (_fd_adc < 0) {
|
||||||
warnx("/dev/adc0");
|
warnx("/dev/adc0");
|
||||||
warnx(1, "FATAL: no ADC found");
|
warnx("FATAL: no ADC found");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user