From 70b1b199028add53d04ceb755776ce7bbc8127bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Fri, 5 Nov 2021 11:50:42 +0100 Subject: [PATCH] uavcan: add configuration parameter to actuator metadata --- src/drivers/uavcan/module.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/drivers/uavcan/module.yaml b/src/drivers/uavcan/module.yaml index 96dc832f75..9c2ba643dc 100644 --- a/src/drivers/uavcan/module.yaml +++ b/src/drivers/uavcan/module.yaml @@ -1,6 +1,12 @@ - module_name: UAVCAN actuator_output: + show_subgroups_if: 'UAVCAN_ENABLE>=3' + config_parameters: + - param: 'UAVCAN_ENABLE' + label: 'Configure' + function: 'enable' + - param: 'UAVCAN_BITRATE' + label: 'Bitrate' output_groups: - param_prefix: UAVCAN_EC group_label: 'ESCs'