refactor(drivers/tap_esc): convert params.c to module.yaml

Convert 1 parameter file(s) from legacy C format to YAML
module configuration.
This commit is contained in:
Jacob Dahl
2026-03-17 21:55:33 -08:00
committed by Jacob Dahl
parent 7cd56a2b2c
commit 9d0e88f131
3 changed files with 26 additions and 32 deletions
+1
View File
@@ -43,6 +43,7 @@ px4_add_module(
TAP_ESC.hpp
MODULE_CONFIG
module.yaml
tap_esc_params.yaml
DEPENDS
led
mixer_module
-32
View File
@@ -1,32 +0,0 @@
/**
* @file tap_esc_params.c
* Parameters for esc version
*
*/
/**
* Required esc firmware version.
*
* @group ESC
* @min 0
* @max 65535
*/
PARAM_DEFINE_INT32(ESC_FW_VER, 0);
/**
* Required esc bootloader version.
*
* @group ESC
* @min 0
* @max 65535
*/
PARAM_DEFINE_INT32(ESC_BL_VER, 0);
/**
* Required esc hardware version
*
* @group ESC
* @min 0
* @max 65535
*/
PARAM_DEFINE_INT32(ESC_HW_VER, 0);
+25
View File
@@ -0,0 +1,25 @@
module_name: tap_esc
parameters:
- group: ESC
definitions:
ESC_FW_VER:
description:
short: Required esc firmware version
type: int32
default: 0
min: 0
max: 65535
ESC_BL_VER:
description:
short: Required esc bootloader version
type: int32
default: 0
min: 0
max: 65535
ESC_HW_VER:
description:
short: Required esc hardware version
type: int32
default: 0
min: 0
max: 65535