Skip to content

Commit

Permalink
fix compiler warning - CRSF - unused parameter 'currentTimeUs' (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Feb 27, 2024
1 parent e65a7e0 commit c655ade
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/rx/crsf.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ typedef struct crsfPayloadLinkstatistics_s {
} crsfLinkStatistics_t;

static void handleCrsfLinkStatisticsFrame(const crsfLinkStatistics_t* statsPtr, timeUs_t currentTimeUs) {
UNUSED(currentTimeUs);
const crsfLinkStatistics_t stats = *statsPtr;
CRSFsetLQ(stats.uplink_Link_quality);
CRSFsetRFMode(stats.rf_Mode);
Expand Down

0 comments on commit c655ade

Please sign in to comment.