mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
Merge branch 'master' of github.com:PX4/Firmware into fixedwing
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
ms5611 start
|
ms5611 start
|
||||||
|
adc start
|
||||||
|
|
||||||
if mpu6000 start
|
if mpu6000 start
|
||||||
then
|
then
|
||||||
|
|||||||
@@ -760,8 +760,8 @@ 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) {
|
||||||
warn("/dev/adc0");
|
warnx("/dev/adc0");
|
||||||
errx(1, "FATAL: no ADC found");
|
warnx(1, "FATAL: no ADC found");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user