Browse Source

AP_Param: fixed flymaple build

mission-4.1.18
Andrew Tridgell 9 years ago
parent
commit
b54bb757df
  1. 2
      libraries/AP_Param/AP_Param.cpp

2
libraries/AP_Param/AP_Param.cpp

@ -1077,11 +1077,13 @@ bool AP_Param::load_all(void) @@ -1077,11 +1077,13 @@ bool AP_Param::load_all(void)
struct Param_header phdr;
uint16_t ofs = sizeof(AP_Param::EEPROM_header);
#if HAL_OS_POSIX_IO == 1
/*
if the HAL specifies a defaults parameter file then override
defaults using that file
*/
load_defaults_file(hal.util->get_custom_defaults_file());
#endif
while (ofs < _storage.size()) {
_storage.read_block(&phdr, ofs, sizeof(phdr));

Loading…
Cancel
Save