mirror of https://github.com/ArduPilot/ardupilot
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:
parent
3c367d3af4
commit
429e7d2fc9
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in New Issue