From 5ba359fe1779b1a57d692396dfea9dd0d572ef72 Mon Sep 17 00:00:00 2001 From: NightHawk32 Date: Sat, 12 Dec 2015 15:36:05 -0500 Subject: [PATCH] FIX: LED config from backup file was not saved to EEPROM after reading the file --- js/backup_restore.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/backup_restore.js b/js/backup_restore.js index 30b806d0..e50b19d7 100644 --- a/js/backup_restore.js +++ b/js/backup_restore.js @@ -678,7 +678,11 @@ function configuration_restore(callback) { } function send_led_strip_config() { - MSP.sendLedStripConfig(reboot); + MSP.sendLedStripConfig(save_to_eeprom); + } + + function save_to_eeprom() { + MSP.send_message(MSP_codes.MSP_EEPROM_WRITE, false, false, reboot); } function reboot() {