Tools: allow Ohm units in parameters

# Conflicts:
#	Tools/autotest/param_metadata/param.py
#	libraries/AP_BattMonitor/AP_BattMonitor_INA2xx.cpp
This commit is contained in:
Andrew Tridgell 2023-10-08 11:05:39 +11:00 committed by Peter Barker
parent 3c367d3af4
commit 429e7d2fc9
1 changed files with 2 additions and 0 deletions

View File

@ -124,6 +124,8 @@ known_units = {
'RPM' : 'Revolutions Per Minute', 'RPM' : 'Revolutions Per Minute',
'kg/m/m' : 'kilograms per square meter', # metre is the SI unit name, meter is the american spelling of it 'kg/m/m' : 'kilograms per square meter', # metre is the SI unit name, meter is the american spelling of it
'kg/m/m/m': 'kilograms per cubic meter', 'kg/m/m/m': 'kilograms per cubic meter',
'litres' : 'litres',
'Ohm' : 'Ohm',
} }
required_param_fields = [ required_param_fields = [