diff --git a/src/main/fc/fc_msp.c b/src/main/fc/fc_msp.c index 8a3f6ef7d2..4d214019db 100755 --- a/src/main/fc/fc_msp.c +++ b/src/main/fc/fc_msp.c @@ -520,6 +520,8 @@ static bool mspFcProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst, sbuf_t *src, msp uint32_t i; #ifdef USE_FLASHFS const unsigned int dataSize = sbufBytesRemaining(src); +#else + UNUSED(src); #endif #ifdef GPS uint8_t wp_no;