Tools: Parameters: Permit kHz as a unit

This commit is contained in:
Michael du Breuil 2017-07-15 14:46:50 -07:00 committed by Andrew Tridgell
parent c4c68266d5
commit 31924e46d3
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ known_units = {
'ms' : 'milliseconds' ,
'PWM' : 'PWM in microseconds' , # should be microseconds, this is NOT a SI unit, but follows https://github.com/ArduPilot/ardupilot/pull/5538#issuecomment-271943061
'Hz' : 'hertz' ,
'kHz' : 'kilohertz' ,
# distance
'km' : 'kilometers' , # metre is the SI unit name, meter is the american spelling of it
'm' : 'meters' , # metre is the SI unit name, meter is the american spelling of it