Merge pull request #5359 from betaflight/fix-f1-build-issues

Fix F1 build issues
This commit is contained in:
Michael Keller 2018-03-03 14:29:31 +13:00 committed by GitHub
commit 5143b8687d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1773,6 +1773,9 @@ static mspResult_e mspProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
{
const uint8_t command = sbufReadU8(src);
uint8_t disableRunawayTakeoff = 0;
#ifndef USE_RUNAWAY_TAKEOFF
UNUSED(disableRunawayTakeoff);
#endif
if (sbufBytesRemaining(src)) {
disableRunawayTakeoff = sbufReadU8(src);
}

View File

@ -89,7 +89,7 @@ void targetConfiguration(void)
controlRateConfig->rcRates[FD_ROLL] = 100;
controlRateConfig->rcRates[FD_PITCH] = 100;
controlRateConfig->rcRate[FD_YAW] = 110;
controlRateConfig->rcRates[FD_YAW] = 110;
controlRateConfig->rcExpo[FD_ROLL] = 0;
controlRateConfig->rcExpo[FD_PITCH] = 0;
controlRateConfig->rates[FD_ROLL] = 77;