From 07eea573fd7487cd9718110626a7ae34be8c1b49 Mon Sep 17 00:00:00 2001 From: blckmn Date: Mon, 31 Oct 2022 16:16:57 +1100 Subject: [PATCH] Fix for Cloud Build and USE_TELEMETRY_GHST --- src/main/telemetry/ghst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/telemetry/ghst.c b/src/main/telemetry/ghst.c index d23ab62e34..c6520bb8f9 100644 --- a/src/main/telemetry/ghst.c +++ b/src/main/telemetry/ghst.c @@ -224,6 +224,7 @@ void ghstScheduleMspResponse(void) mspReplyPending = true; } +#if defined(USE_MSP_OVER_TELEMETRY) static void ghstSendMspResponse(uint8_t *payload, const uint8_t payloadSize) { sbuf_t ghstPayloadBuf; @@ -241,6 +242,7 @@ static void ghstSendMspResponse(uint8_t *payload, const uint8_t payloadSize) } ghstFinalize(dst); // crc } +#endif static void processGhst(void) {