1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-16 21:05:28 +03:00

Add support for configuring coordinate digit count on OSD

Depends on https://github.com/iNavFlight/inav/pull/3573
This commit is contained in:
Alberto García Hierro 2018-07-12 00:51:34 +01:00
parent fc0c8123da
commit 142e960893
4 changed files with 38 additions and 4 deletions

View file

@ -2954,6 +2954,10 @@ var mspHelper = (function (gui) {
self.getSetting = function (name) {
var $this = this;
return this._getSetting(name).then(function (setting) {
if (!setting) {
// Setting not available in the FC
return null;
}
var data = [];
$this._encodeSettingReference(name, setting.index, data);
return MSP.promise(MSPCodes.MSPV2_SETTING, data).then(function (resp) {