Tools: add known Calibration tag to apm.pdef.xml
this will allow a GCS to hide anything that a user should never ordinarily have to see in terms of calibration parameters
This commit is contained in:
parent
dba272bafb
commit
16f4d33d00
@ -31,6 +31,7 @@ known_param_fields = [
|
||||
'Bitmask',
|
||||
'Volatile',
|
||||
'ReadOnly',
|
||||
'Calibration',
|
||||
]
|
||||
|
||||
# Follow SI units conventions from:
|
||||
|
@ -46,6 +46,9 @@ class XmlEmit(Emit):
|
||||
if hasattr(param, 'User'):
|
||||
t += ' user=%s' % quoteattr(param.User) # i.e. Standard or Advanced
|
||||
|
||||
if hasattr(param, 'Calibration'):
|
||||
t += ' calibration=%s' % quoteattr(param.Calibration) # i.e. Standard or Advanced
|
||||
|
||||
t += ">\n"
|
||||
|
||||
# Add values as chidren of this node
|
||||
|
Loading…
Reference in New Issue
Block a user