mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
CHG: removed the ubuntu build variable which is no needed anymore to build on ubunutu.
CHG: Some warnings in cmdhflegic.c is solved.
This commit is contained in:
parent
0baea563de
commit
f1f7430ae0
2 changed files with 3 additions and 3 deletions
|
@ -705,7 +705,7 @@ void static calc4(uint8_t *cmd, uint8_t len){
|
|||
crc_update(&crc, 1, 1); /* CMD_READ */
|
||||
crc_update(&crc, cmd[0], 8);
|
||||
crc_update(&crc, cmd[1], 8);
|
||||
printf("crc4 %X\n", crc_finish(&crc), 4 ) ;
|
||||
printf("crc4 %X\n", crc_finish(&crc) ) ;
|
||||
|
||||
printf("---- old ---\n");
|
||||
crc_update2(&crc, 1, 1); /* CMD_READ */
|
||||
|
@ -718,7 +718,7 @@ void static calc4(uint8_t *cmd, uint8_t len){
|
|||
crc_update2(&crc, 1, 1); /* CMD_READ */
|
||||
crc_update2(&crc, cmd[0], 8);
|
||||
crc_update2(&crc, cmd[1], 8);
|
||||
printf("crc4 %X\n", crc_finish(&crc), 4 ) ;
|
||||
printf("crc4 %X\n", crc_finish(&crc) ) ;
|
||||
}
|
||||
|
||||
int CmdLegicCalcCrc8(const char *Cmd){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue