ArduPlane: fix casting to pass format check

This commit is contained in:
bugobliterator 2021-09-22 12:49:51 +05:30 committed by Peter Barker
parent f3fef657f9
commit 4b62dd75b0
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ bool QuadPlane::setup(void)
case AP_Motors::MOTOR_FRAME_DYNAMIC_SCRIPTING_MATRIX:
break;
default:
AP_BoardConfig::config_error("Unsupported Q_FRAME_CLASS %u", frame_class);
AP_BoardConfig::config_error("Unsupported Q_FRAME_CLASS %u", (unsigned int)(frame_class.get()));
}
// Make sure not both a tailsiter and tiltrotor