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:
iceman1001 2016-09-26 17:19:35 +02:00
commit f1f7430ae0
2 changed files with 3 additions and 3 deletions

View file

@ -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){