changed reading of "uid" to "serial" in function detect_4x50_block since output is always "serial"

This commit is contained in:
tharexde 2020-12-19 21:27:03 +01:00
commit 2d54ec652c

View file

@ -508,7 +508,7 @@ bool detect_4x50_block(void) {
em4x50_data_t etd = {
.pwd_given = false,
.addr_given = true,
.addresses = (EM4X50_DEVICE_ID << 8) | EM4X50_DEVICE_ID,
.addresses = (EM4X50_DEVICE_SERIAL << 8) | EM4X50_DEVICE_SERIAL,
};
em4x50_word_t words[EM4X50_NO_WORDS];
return (em4x50_read(&etd, words) == PM3_SUCCESS);