Merge pull request #5359 from betaflight/fix-f1-build-issues
Fix F1 build issues
This commit is contained in:
commit
5143b8687d
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue