Solved bug that makes hf mf eread command crashes

This commit is contained in:
Eremita Solitario
2023-09-09 23:32:53 +02:00
parent 0dc83b4f5b
commit 6d2eb1761f
+1 -1
View File
@@ -631,7 +631,7 @@ class ChameleonCMD:
"""
Gets data for selected block range
"""
return self.device.send_cmd_sync(DATA_CMD_READ_MF1_EMU_BLOCK_DATA, 0x00, bytearray(block_start, block_count))
return self.device.send_cmd_sync(DATA_CMD_READ_MF1_EMU_BLOCK_DATA, 0x00, bytearray([block_start, block_count]))
@expect_response(chameleon_status.Device.STATUS_DEVICE_SUCCESS)
def set_mf1_anti_collision_res(self, sak: bytearray, atqa: bytearray, uid: bytearray):