1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Merge pull request #11940 from blckmn/ghst_fix

This commit is contained in:
J Blackman 2022-11-01 08:40:42 +11:00 committed by GitHub
commit c5d645b327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,6 +224,7 @@ void ghstScheduleMspResponse(void)
mspReplyPending = true; mspReplyPending = true;
} }
#if defined(USE_MSP_OVER_TELEMETRY)
static void ghstSendMspResponse(uint8_t *payload, const uint8_t payloadSize) static void ghstSendMspResponse(uint8_t *payload, const uint8_t payloadSize)
{ {
sbuf_t ghstPayloadBuf; sbuf_t ghstPayloadBuf;
@ -241,6 +242,7 @@ static void ghstSendMspResponse(uint8_t *payload, const uint8_t payloadSize)
} }
ghstFinalize(dst); // crc ghstFinalize(dst); // crc
} }
#endif
static void processGhst(void) static void processGhst(void)
{ {