From c9d0d7b7e0b2230fdf96b34ccbe5e1cda2a0effa Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Tue, 27 Feb 2024 10:41:05 -0600 Subject: [PATCH] fix compiler warning - comment out getGhstFrame (defined but not used) (#966) --- src/main/telemetry/ghst.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/telemetry/ghst.c b/src/main/telemetry/ghst.c index b8dad14b4a..22b76681cb 100644 --- a/src/main/telemetry/ghst.c +++ b/src/main/telemetry/ghst.c @@ -82,9 +82,12 @@ static void ghstInitializeFrame(sbuf_t *dst) sbufWriteU8(dst, GHST_ADDR_RX); } +//compiler reports unused +/* STATIC_UNIT_TESTED uint8_t *getGhstFrame(){ return ghstFrame; } +*/ static void ghstFinalize(sbuf_t *dst) {