Skip to content
Snippets Groups Projects
Commit 4036f50f authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: bug fix to convert old batt params to BATT_ lib

parent 6c0cb5f8
No related branches found
No related tags found
No related merge requests found
...@@ -1091,7 +1091,7 @@ static void load_parameters(void) ...@@ -1091,7 +1091,7 @@ static void load_parameters(void)
uint32_t before = micros(); uint32_t before = micros();
// Load all auto-loaded EEPROM variables // Load all auto-loaded EEPROM variables
AP_Param::load_all(); AP_Param::load_all();
AP_Param::convert_old_parameters(&conversion_table[0], sizeof(conversion_table)/sizeof(conversion_table[0]));
cliSerial->printf_P(PSTR("load_all took %luus\n"), micros() - before); cliSerial->printf_P(PSTR("load_all took %luus\n"), micros() - before);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment