move clamping and reorder values

This commit is contained in:
ttechnick
2025-11-20 13:44:35 +01:00
parent b4eae779f5
commit 264d53efbe
5 changed files with 31 additions and 12 deletions
+5 -1
View File
@@ -286,7 +286,7 @@ Note that non-motor outputs might already be active in prearm state if COM_PREAR
'''Minimum output value (when not disarmed).
'''
center_description = \
'''Center output value (when not disarmed).
'''Servo Center output value (when not disarmed).
'''
maximum_description = \
'''Maxmimum output value (when not disarmed).
@@ -316,6 +316,10 @@ When set to -1 (default), the value depends on the function (see {:}).
standard_params[key]['default'] = -1
standard_params[key]['min'] = -1
if key == 'center':
standard_params[key]['default'] = -1
standard_params[key]['min'] = -1
param = {
'description': {
'short': channel_label+' ${i} '+label+' Value',