1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 23:05:19 +03:00

Fixed unused src warning when not using flash

This commit is contained in:
Martin Budden 2016-10-18 18:56:48 +01:00
parent b62afbefd8
commit e78b544139

View file

@ -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;