1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2024-06-17 14:40:57 +02:00
parent 7b63e06521
commit a90d4634d5
2 changed files with 10 additions and 17 deletions

View file

@ -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);