FIX: LED config from backup file was not saved to EEPROM after reading the file

10.3.x-maintenance
NightHawk32 2015-12-12 15:36:05 -05:00
parent 6d7c6a4576
commit 5ba359fe17
1 changed files with 5 additions and 1 deletions

View File

@ -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() {