We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acbee4c commit 7692d5aCopy full SHA for 7692d5a
src/java/pt/lsts/neptus/mp/SpeedType.java
@@ -302,6 +302,9 @@ public String toString() {
302
}
303
304
public String toStringAsDefaultUnits() {
305
+ if (units == Units.RPM || units == Units.Percentage)
306
+ return toString();
307
+
308
Units defaultUnits = GeneralPreferences.speedUnits;
309
return GuiUtils.getNeptusDecimalFormat(2).format(getAs(defaultUnits)) + " " + defaultUnits.name;
310
0 commit comments