Fixed HIL compile warnings

This commit is contained in:
Lorenz Meier
2012-11-12 10:59:35 +01:00
parent 03d58e9b00
commit 2c12802f25
+2 -1
View File
@@ -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();