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:
parent
fc0c8123da
commit
142e960893
4 changed files with 38 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue