Skip to content

Commit

Permalink
fix compiler warning - comment out getGhstFrame (defined but not used) (
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Feb 27, 2024
1 parent 9f0358c commit c9d0d7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/telemetry/ghst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c9d0d7b

Please sign in to comment.