params: use PWM_MAIN_* instead of PWM_FMU_*

This commit is contained in:
Beat Küng
2021-10-05 13:26:52 +02:00
committed by Daniel Agar
parent ba4a1ec6c4
commit ab1d76ae7d
15 changed files with 58 additions and 149 deletions

View File

@@ -240,10 +240,10 @@ actuator_output:
type: string
allowed: [ pwm ]
param_prefix:
# parameter prefix for the min/max/disarmed/func params, e.g. PWM_FMU.
# parameter prefix for the min/max/disarmed/func params, e.g. PWM_MAIN.
# This also needs to be specified in the source code.
type: string
regex: '([0-9A-Z_]+|\$\{PWM_FMU_OR_HIL\})'
regex: '([0-9A-Z_]+|\$\{PWM_MAIN_OR_AUX\}|\$\{PWM_MAIN_OR_HIL\})'
required: true
channel_label:
# Human-readable per-channel label (index will be added), e.g. 'PWM Main'