Operational mixing and outputs in hil

This commit is contained in:
Lorenz Meier
2012-11-10 18:14:25 +01:00
parent ee5abb0745
commit 41629e0ddb
+3 -2
View File
@@ -211,8 +211,9 @@ HIL::init()
if (ret != OK)
return ret;
/* try to claim the generic PWM output device node as well - it's OK if we fail at this */
ret = register_driver(PWM_OUTPUT_DEVICE_PATH, &fops, 0666, (void *)this);
// XXX already claimed with CDEV
///* try to claim the generic PWM output device node as well - it's OK if we fail at this */
//ret = register_driver(PWM_OUTPUT_DEVICE_PATH, &fops, 0666, (void *)this);
if (ret == OK) {
log("default PWM output device");
_primary_pwm_device = true;