AP_Logger: reserve W for watts as a unit

This commit is contained in:
Peter Barker 2019-07-05 11:07:54 +10:00 committed by Peter Barker
parent 44f6f7335e
commit 288952b5a2

View File

@ -70,6 +70,7 @@ const struct UnitStructure log_Units[] = {
{ 'v', "V" }, // Volt { 'v', "V" }, // Volt
{ 'P', "Pa" }, // Pascal { 'P', "Pa" }, // Pascal
{ 'w', "Ohm" }, // Ohm { 'w', "Ohm" }, // Ohm
// { 'W', "Watt" }, // Watt
{ 'Y', "us" }, // pulse width modulation in microseconds { 'Y', "us" }, // pulse width modulation in microseconds
{ 'z', "Hz" }, // Hertz { 'z', "Hz" }, // Hertz
{ '#', "instance" } // (e.g.)Sensor instance number { '#', "instance" } // (e.g.)Sensor instance number