Skip to content

Commit

Permalink
more final XOR variants
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoung8607 committed May 22, 2024
1 parent 02211d2 commit 3495fd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions can/common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ unsigned int fca_giorgio_checksum(uint32_t address, const Signal &sig, const std

if (address == 0xDE) {
return crc ^ 0x10;
} else if (address == 0x106) {
return crc ^ 0xF6;
} else if (address == 0x122) {
return crc ^ 0xF1;
} else {
return crc ^ 0xA;
}
Expand Down

0 comments on commit 3495fd4

Please sign in to comment.