mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_Logger: add Wh units
This commit is contained in:
parent
be1cca1368
commit
c5dba34e4c
@ -73,7 +73,8 @@ const struct UnitStructure log_Units[] = {
|
||||
{ 'v', "V" }, // Volt
|
||||
{ 'P', "Pa" }, // Pascal
|
||||
{ 'w', "Ohm" }, // Ohm
|
||||
{ 'W', "Watt" }, // Watt
|
||||
{ 'W', "Watt" }, // Watt
|
||||
{ 'X', "W.h" }, // Watt hour
|
||||
{ 'Y', "us" }, // pulse width modulation in microseconds
|
||||
{ 'z', "Hz" }, // Hertz
|
||||
{ '#', "instance" } // (e.g.)Sensor instance number
|
||||
|
@ -71,6 +71,8 @@ Please keep the names consistent with Tools/autotest/param_metadata/param.py:33
|
||||
| 'v' | "V" | Volt|
|
||||
| 'P' | "Pa" | Pascal|
|
||||
| 'w' | "Ohm" | Ohm|
|
||||
| 'W' | "W" | watt |
|
||||
| 'X' | "W.h" | watt hour |
|
||||
| 'Y' | "us" | pulse width modulation in microseconds|
|
||||
| 'z' | "Hz" | Hertz|
|
||||
| '#' | "instance" | (e.g.)Sensor instance number|
|
||||
|
Loading…
Reference in New Issue
Block a user