1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 08:15:22 +03:00

Set profile count to 3 instead of 2.

Fixes hang on configuration restore.
This commit is contained in:
gaelj 2016-07-17 00:26:40 +02:00
parent 91bd81bcfa
commit b6e6e95881

View file

@ -4,7 +4,7 @@
// the data inside nested objects needs to be verified if deep copy works properly
function configuration_backup(callback) {
var activeProfile = null,
profilesN = 2;
profilesN = 3;
var configuration = {
'generatedBy': chrome.runtime.getManifest().version,