-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VW MQB: Refactored CRC calculation (#1236)
* VW MQB: Refactor CRC constants Big switch statement in volkswagen_mqb_checksum was refactored with map of arrays. With this approach there's no need for specifying all 16 byte values if constant is the same for all of them. * temporary, repeat packing step 1M times * follow comma convention for include order * comma indent convention, tighten message annotations * whitespace * cleanup * more comma indent convention * Revert "temporary, repeat packing step 1M times" This reverts commit 06d8f46. * comment touch-up * beautify spacing * codespell says you're gonna have to Google it * fully initialize all data ID arrays * clarify array name as part of VW support * fix comment typo --------- Co-authored-by: Jason Young <[email protected]>
- Loading branch information
1 parent
2b85882
commit 0994697
Showing
1 changed file
with
35 additions
and
69 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