mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Store GPS protocol in the wizard state
This commit is contained in:
parent
7b63e06521
commit
a90d4634d5
2 changed files with 10 additions and 17 deletions
|
@ -79,23 +79,16 @@ var defaultsDialog = (function () {
|
|||
|
||||
privateScope.wizardSettings.push({
|
||||
name: "gpsPort",
|
||||
value: port
|
||||
});
|
||||
|
||||
privateScope.wizardSettings.push({
|
||||
name: "gpsBaud",
|
||||
value: baud
|
||||
value: {
|
||||
port: port,
|
||||
baud: baud
|
||||
}
|
||||
});
|
||||
|
||||
privateScope.wizardSettings.push({
|
||||
name: "gpsProtocol",
|
||||
value: protocol
|
||||
});
|
||||
|
||||
// privateScope.wizardSettings.push({
|
||||
// });
|
||||
|
||||
// let gpsBit = FC.getFeatures().find( feature => feature.name === 'GPS' ).bit;
|
||||
}
|
||||
|
||||
privateScope.wizard(selectedDefaultPreset, wizardStep + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue