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

Keep reviewers happy

This commit is contained in:
anthonycake 2020-12-15 09:02:01 +01:00
parent a543ed8887
commit 81150286c6
2 changed files with 3 additions and 3 deletions

View file

@ -98,5 +98,5 @@ const char * const debugModeNames[DEBUG_COUNT] = {
"RX_TIMING",
"D_LPF",
"VTX_TRAMP",
"GHST"
"GHST",
};

View file

@ -78,7 +78,7 @@ enum {
DEBUG_GHST_CRC_ERRORS = 0,
DEBUG_GHST_UNKNOWN_FRAMES,
DEBUG_GHST_RX_RSSI,
DEBUG_GHST_RX_LQ
DEBUG_GHST_RX_LQ,
};
static serialPort_t *serialPort;
@ -199,7 +199,7 @@ STATIC_UNIT_TESTED uint8_t ghstFrameStatus(rxRuntimeState_t *rxRuntimeState)
return RX_FRAME_COMPLETE | RX_FRAME_PROCESSING_REQUIRED; // request callback through ghstProcessFrame to do the decoding work
}
if(crc != ghstValidatedFrame.bytes[fullFrameLength - 1] ) {
if (crc != ghstValidatedFrame.bytes[fullFrameLength - 1]) {
DEBUG_SET(DEBUG_GHST, DEBUG_GHST_CRC_ERRORS, ++crcErrorCount);
}