From 8c69143fcf66ac904ed5f44c93433df27dbe4859 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Fri, 1 Sep 2017 20:19:34 +1200 Subject: [PATCH] Fixed broken check for to migrate to version 1.3.1 (cleanflight). --- js/backup_restore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/backup_restore.js b/js/backup_restore.js index b1454ac8..c492874a 100644 --- a/js/backup_restore.js +++ b/js/backup_restore.js @@ -617,7 +617,7 @@ function configuration_restore(callback) { appliedMigrationsCount++; } - if (!compareVersions(migratedVersion, '1.3.1')) { + if (compareVersions(migratedVersion, '1.3.1')) { // LED_COLORS & LED_MODE_COLORS support was added. if (!configuration.LED_COLORS) {