mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Fix crsf unit test
This commit is contained in:
parent
1957c6c881
commit
6dfb0de636
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ TEST(CrossFireTest, TestCrsfFrameStatus)
|
|||
memset(crsfFrame.frame.payload, 0, CRSF_FRAME_RC_CHANNELS_PAYLOAD_SIZE);
|
||||
const uint8_t crc = crsfFrameCRC();
|
||||
crsfFrame.frame.payload[CRSF_FRAME_RC_CHANNELS_PAYLOAD_SIZE] = crc;
|
||||
|
||||
memcpy(&crsfChannelDataFrame, &crsfFrame, sizeof(crsfFrame));
|
||||
const uint8_t status = crsfFrameStatus();
|
||||
EXPECT_EQ(RX_FRAME_COMPLETE, status);
|
||||
EXPECT_FALSE(crsfFrameDone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue