mirror of https://github.com/ArduPilot/ardupilot
AP_DAL: factor substring from allocation_error parameter
This commit is contained in:
parent
60759f9a83
commit
d6ebc5578b
|
@ -145,7 +145,7 @@ void AP_DAL::init_sensors(void)
|
|||
#endif
|
||||
|
||||
if (alloc_failed) {
|
||||
AP_BoardConfig::allocation_error("Unable to allocate DAL backends");
|
||||
AP_BoardConfig::allocation_error("DAL backends");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ AP_DAL_RangeFinder::AP_DAL_RangeFinder()
|
|||
}
|
||||
return;
|
||||
failed:
|
||||
AP_BoardConfig::allocation_error("Unable to allocate DAL backends");
|
||||
AP_BoardConfig::allocation_error("DAL backends");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue