diff options
-rw-r--r-- | src/modules/vtol_att_control/vtol_att_control_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/vtol_att_control/vtol_att_control_main.cpp b/src/modules/vtol_att_control/vtol_att_control_main.cpp index 0a333eade..288ba2ebe 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.cpp +++ b/src/modules/vtol_att_control/vtol_att_control_main.cpp @@ -569,7 +569,7 @@ void VtolAttitudeControl::fill_fw_att_rates_sp() void VtolAttitudeControl::set_idle_fw() { int ret; - char *dev = PWM_OUTPUT_DEVICE_PATH; + char *dev = PWM_OUTPUT0_DEVICE_PATH; int fd = open(dev, 0); if (fd < 0) {err(1, "can't open %s", dev);} @@ -598,7 +598,7 @@ void VtolAttitudeControl::set_idle_mc() { int ret; unsigned servo_count; - char *dev = PWM_OUTPUT_DEVICE_PATH; + char *dev = PWM_OUTPUT0_DEVICE_PATH; int fd = open(dev, 0); if (fd < 0) {err(1, "can't open %s", dev);} |