linux_pwm_out: use PWM_MAIN parameter prefix

- this keeps things simpler for now across the old and new output
configuration
This commit is contained in:
Daniel Agar
2021-12-23 15:57:11 -05:00
parent 64e00c41d4
commit 38af93085b
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ private:
void update_params();
MixingOutput _mixing_output{"PWM", MAX_ACTUATORS, *this, MixingOutput::SchedulingPolicy::Auto, false};
MixingOutput _mixing_output{"PWM_MAIN", MAX_ACTUATORS, *this, MixingOutput::SchedulingPolicy::Auto, false};
uORB::SubscriptionInterval _parameter_update_sub{ORB_ID(parameter_update), 1_s};
+1 -1
View File
@@ -1,7 +1,7 @@
module_name: PWM Output
actuator_output:
output_groups:
- param_prefix: PWM
- param_prefix: PWM_MAIN
channel_label: 'Channel'
standard_params:
disarmed: { min: 800, max: 2200, default: 900 }