actuators: remove function from center param (#26517)

* fix center parameter metadata

* revert module_schema

---------

Co-authored-by: Beat Küng <beat-kueng@gmx.net>
This commit is contained in:
Nick
2026-03-06 09:00:52 +01:00
committed by GitHub
co-authored by Beat Küng
parent b5deafdc92
commit ce828af85c
5 changed files with 33 additions and 38 deletions
+1 -5
View File
@@ -312,11 +312,7 @@ When set to -1 (default), the value depends on the function (see {:}).
if standard_params[key]['max'] >= 1<<16:
raise Exception('maximum value for {:} expected <= {:} (got {:})'.format(key, 1<<16, standard_params[key]['max']))
if key == 'failsafe':
standard_params[key]['default'] = -1
standard_params[key]['min'] = -1
if key == 'center':
if key == 'failsafe' or key == 'center':
standard_params[key]['default'] = -1
standard_params[key]['min'] = -1