Skip to content
Snippets Groups Projects
Commit e5d6b1c9 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Tools: Parse new decimals tag

parent b081c5c3
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@ class Parameter(object):
"min": 5,
"max": 4,
"unit": 3,
"decimal": 2,
# all others == 0 (sorted alphabetically)
}
......@@ -106,7 +107,7 @@ class SourceParser(object):
re_remove_dots = re.compile(r'\.+$')
re_remove_carriage_return = re.compile('\n+')
valid_tags = set(["group", "board", "min", "max", "unit"])
valid_tags = set(["group", "board", "min", "max", "unit", "decimal"])
# Order of parameter groups
priority = {
......
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