forked from Archive/PX4-Autopilot
Fixed minor compile error
This commit is contained in:
parent
c94076f673
commit
ec3d298720
|
@ -641,7 +641,7 @@ Sensors::adc_init()
|
|||
_fd_adc = open("/dev/adc0", O_RDONLY | O_NONBLOCK);
|
||||
if (_fd_adc < 0) {
|
||||
warnx("/dev/adc0");
|
||||
warnx(1, "FATAL: no ADC found");
|
||||
warnx("FATAL: no ADC found");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue