Skip to content
Snippets Groups Projects
Commit 4c90d2c0 authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

module_schema: enforce serial config param names to end in _CONFIG or _CFG

For consistency & documentation
parent a3466196
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ serial_config:
name:
# Parameter name (e.g. TEL_FRSKY_CONFIG, MAV_${i}_CONFIG)
type: string
regex: '[0-9A-Z_]+(\$\{i\}[0-9A-Z_]*)?'
regex: '[0-9A-Z_]+(\$\{i\}[0-9A-Z_]*)?_(CONFIG|CFG)'
required: true
group:
# Associated parameter group (e.g. GPS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment