diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-06 12:40:29 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-06 12:40:29 +0100 |
commit | ec3d298720af06cd40184b3809555487e5df24d2 (patch) | |
tree | b5a94197470f0ac025013f23dacc828fa2f027f1 /apps/sensors | |
parent | c94076f6735290dc7aa8742428f46ef51521f9a6 (diff) | |
download | px4-firmware-ec3d298720af06cd40184b3809555487e5df24d2.tar.gz px4-firmware-ec3d298720af06cd40184b3809555487e5df24d2.tar.bz2 px4-firmware-ec3d298720af06cd40184b3809555487e5df24d2.zip |
Fixed minor compile error
Diffstat (limited to 'apps/sensors')
-rw-r--r-- | apps/sensors/sensors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sensors/sensors.cpp b/apps/sensors/sensors.cpp index c099509a7..6b62eb9f2 100644 --- a/apps/sensors/sensors.cpp +++ b/apps/sensors/sensors.cpp @@ -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"); } } |