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

Added warning when connecting to firmware newer than configurator.

This commit is contained in:
mikeller 2020-03-28 16:20:26 +13:00
parent b00063c36c
commit eb6e269467
16 changed files with 120 additions and 94 deletions

View file

@ -1,15 +1,21 @@
'use strict';
const API_VERSION_1_43 = '1.43.0';
var CONFIGURATOR = {
// all versions are specified and compared using semantic versioning http://semver.org/
'apiVersionAccepted': '1.2.1',
'backupRestoreMinApiVersionAccepted': '1.5.0',
'pidControllerChangeMinApiVersion': '1.5.0',
'backupFileMinVersionAccepted': '0.55.0', // chrome.runtime.getManifest().version is stored as string, so does this one
'connectionValid': false,
'connectionValidCliOnly': false,
'cliActive': false,
'cliValid': false,
'gitChangesetId': 'unknown'
API_VERSION_ACCEPTED: '1.2.1',
API_VERSION_MIN_SUPPORTED_BACKUP_RESTORE: '1.5.0',
API_VERSION_MIN_SUPPORTED_PID_CONTROLLER_CHANGE: '1.5.0',
BACKUP_FILE_VERSION_MIN_SUPPORTED: '0.55.0', // chrome.runtime.getManifest().version is stored as string, so does this one
API_VERSION_MAX_SUPPORTED: API_VERSION_1_43,
connectionValid: false,
connectionValidCliOnly: false,
cliActive: false,
cliValid: false,
gitChangesetId: 'unknown',
version: '0.0.1',
latestVersion: '0.0.1',
latestVersionReleaseUrl: 'https://github.com/betaflight/betaflight-configurator/releases',
};