diff --git a/libraries/AP_DAL/AP_DAL.cpp b/libraries/AP_DAL/AP_DAL.cpp index ee8407b0a1..da0f0fd73b 100644 --- a/libraries/AP_DAL/AP_DAL.cpp +++ b/libraries/AP_DAL/AP_DAL.cpp @@ -145,7 +145,7 @@ void AP_DAL::init_sensors(void) #endif if (alloc_failed) { - AP_BoardConfig::config_error("Unable to allocate DAL backends"); + AP_BoardConfig::allocation_error("Unable to allocate DAL backends"); } } diff --git a/libraries/AP_DAL/AP_DAL_RangeFinder.cpp b/libraries/AP_DAL/AP_DAL_RangeFinder.cpp index 0d83c518c9..842dd31e37 100644 --- a/libraries/AP_DAL/AP_DAL_RangeFinder.cpp +++ b/libraries/AP_DAL/AP_DAL_RangeFinder.cpp @@ -27,7 +27,7 @@ AP_DAL_RangeFinder::AP_DAL_RangeFinder() } return; failed: - AP_BoardConfig::config_error("Unable to allocate DAL backends"); + AP_BoardConfig::allocation_error("Unable to allocate DAL backends"); #endif }