diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-12 10:59:35 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-11-12 10:59:35 +0100 |
commit | 2c12802f25cef99da345493d01c54c7c39602ccc (patch) | |
tree | bf5e3557e7091f552f57b3f52b263e88aef2fd11 /apps/drivers/hil | |
parent | 03d58e9b003473b6def90e88ce82ea401155b536 (diff) | |
download | px4-firmware-2c12802f25cef99da345493d01c54c7c39602ccc.tar.gz px4-firmware-2c12802f25cef99da345493d01c54c7c39602ccc.tar.bz2 px4-firmware-2c12802f25cef99da345493d01c54c7c39602ccc.zip |
Fixed HIL compile warnings
Diffstat (limited to 'apps/drivers/hil')
-rw-r--r-- | apps/drivers/hil/hil.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/drivers/hil/hil.cpp b/apps/drivers/hil/hil.cpp index bef21848b..abb44886e 100644 --- a/apps/drivers/hil/hil.cpp +++ b/apps/drivers/hil/hil.cpp @@ -474,6 +474,7 @@ HIL::ioctl(file *filp, int cmd, unsigned long arg) ret = HIL::pwm_ioctl(filp, cmd, arg); break; default: + ret = -ENOTTY; debug("not in a PWM mode"); break; } @@ -489,7 +490,7 @@ int HIL::pwm_ioctl(file *filp, int cmd, unsigned long arg) { int ret = OK; - int channel; + // int channel; lock(); |