From f5a5d2214603b1d93d9c8c78d121dceffa14fa78 Mon Sep 17 00:00:00 2001 From: Mr D Date: Mon, 18 Oct 2021 18:03:16 +0100 Subject: [PATCH] Added selectable precision to the OSD RPM I've added selectable precision to the ESC RPM, as shown in the OSD. The default is 3, which is the same as the current RPM display. --- _locales/en/messages.json | 6 ++++++ tabs/osd.html | 5 +++++ tabs/osd.js | 5 ++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 34d6584c..dc8bf8db 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -2798,6 +2798,12 @@ "osd_plus_code_short": { "message" : "Plus Code Remove Leading Digits" }, + "osd_esc_rpm_precision": { + "message": "ESC RPM precision" + }, + "osd_esc_rpm_precision_help": { + "message": "The number of digits shown in the RPM display. If the RPM is higher than the number of digits, it will be shown in thousand RPM with as many decimal places as allowed." + }, "osd_crosshairs_style": { "message" : "Crosshairs Style" }, diff --git a/tabs/osd.html b/tabs/osd.html index 5d65c877..335b6f7b 100644 --- a/tabs/osd.html +++ b/tabs/osd.html @@ -75,6 +75,11 @@ +
+