fix: no copy the crc

This commit is contained in:
iceman1001 2017-11-29 07:18:43 +01:00
commit 2a120ec2e0

View file

@ -1067,7 +1067,7 @@ int CmdHF14AMfUInfo(const char *Cmd){
// add pwd / pack if used from cli // add pwd / pack if used from cli
if ( hasAuthKey ) { if ( hasAuthKey ) {
memcpy(ulev1_conf+8, authkeyptr, 4); memcpy(ulev1_conf+8, authkeyptr, 4);
memcpy(ulev1_conf+12, pack, sizeof(pack)); memcpy(ulev1_conf+12, pack, 2);
} }
ulev1_print_configuration(tagtype, ulev1_conf, startconfigblock); ulev1_print_configuration(tagtype, ulev1_conf, startconfigblock);
} }