Blimp: factor substring from allocation_error parameter

This commit is contained in:
Peter Barker 2021-10-11 10:40:12 +11:00 committed by Andrew Tridgell
parent eef8115ffc
commit e4f1b61f71
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ void Blimp::allocate_motors(void)
break;
}
if (motors == nullptr) {
AP_BoardConfig::allocation_error("Unable to allocate FRAME_CLASS=%u", (unsigned)g2.frame_class.get());
AP_BoardConfig::allocation_error("FRAME_CLASS=%u", (unsigned)g2.frame_class.get());
}
AP_Param::load_object_from_eeprom(motors, Fins::var_info);