forked from ArduPilot/ardupilot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AP_RangeFinder: Update serial driver for JRE (AP_Math/crc.cpp and crc…
….h are restored before modification)
- Loading branch information
1 parent
9eced89
commit 81c761d
Showing
3 changed files
with
24 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,6 @@ uint8_t crc_sum8(const uint8_t *p, uint8_t len); | |
// Copyright (C) 2010 Swift Navigation Inc. | ||
// Contact: Fergus Noble <[email protected]> | ||
uint16_t crc16_ccitt(const uint8_t *buf, uint32_t len, uint16_t crc); | ||
uint16_t crc16_ccitt_r(const uint8_t *buf, uint32_t len, uint16_t crc, uint16_t out); | ||
|
||
// CRC16_CCITT algorithm using the GDL90 parser method which is non-standard | ||
// https://www.faa.gov/nextgen/programs/adsb/archival/media/gdl90_public_icd_reva.pdf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters