AP_Parachute: fixed printf format errors

This commit is contained in:
Andrew Tridgell 2021-08-04 12:44:31 +10:00
parent 067a6547bc
commit 68c1f0db35
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ bool AP_Parachute::arming_checks(size_t buflen, char *buffer) const
return false;
}
} else if (!_relay.enabled(_release_type)) {
hal.util->snprintf(buffer, buflen, "Chute invalid relay %d", _release_type);
hal.util->snprintf(buffer, buflen, "Chute invalid relay %d", int(_release_type));
return false;
}
}