mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Merge pull request #9785 from shellixyz/fix/frsky_crc2
This commit is contained in:
parent
dcbd8240ac
commit
68a75591f4
1 changed files with 1 additions and 2 deletions
|
@ -51,6 +51,5 @@ static uint8_t frskyCheckSum(uint8_t *data, uint8_t length)
|
||||||
|
|
||||||
bool frskyCheckSumIsGood(uint8_t *data, uint8_t length)
|
bool frskyCheckSumIsGood(uint8_t *data, uint8_t length)
|
||||||
{
|
{
|
||||||
uint16_t checksum = frskyCheckSum(data, length);
|
return !frskyCheckSum(data, length);
|
||||||
return checksum == 0xFF;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue