Code cleaning

This commit is contained in:
t0m4 2019-07-07 12:10:51 +02:00
parent 95fd247e10
commit 88df59722e

View file

@ -1299,7 +1299,7 @@ static int CmdHF15CSetUID(const char *Cmd) {
return 1;
}
if (strcmp(sprint_hex_inrow_ex(uid, 1, 2), "E0") != 0) {
if (uid[0] != 0xe0) {
PrintAndLogEx(WARNING, "UID must begin with the byte 'E0'");
return 1;
}