AP_DAL: replace config_error with allocation_error

This commit is contained in:
bugobliterator 2021-09-23 13:23:13 +05:30 committed by Peter Barker
parent f5ee2a3a50
commit 756972a80b
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ void AP_DAL::init_sensors(void)
#endif #endif
if (alloc_failed) { if (alloc_failed) {
AP_BoardConfig::config_error("Unable to allocate DAL backends"); AP_BoardConfig::allocation_error("Unable to allocate DAL backends");
} }
} }

View File

@ -27,7 +27,7 @@ AP_DAL_RangeFinder::AP_DAL_RangeFinder()
} }
return; return;
failed: failed:
AP_BoardConfig::config_error("Unable to allocate DAL backends"); AP_BoardConfig::allocation_error("Unable to allocate DAL backends");
#endif #endif
} }