Fixed chip warning

This commit is contained in:
Luxferre
2020-07-28 20:54:42 +03:00
parent 5de02e5d37
commit 7787e68f4e
+1 -1
View File
@@ -192,7 +192,7 @@ if __name__ == "__main__": # main app start
m = MTreader(args.port, args.agent, args.stage_1, args.stage_2)
m.connect()
if m.chip != 0x6261:
print("Warning: chip ID is detected as %04x instead of 6261, readback process might fail!")
print("Warning: chip ID is detected as %04x instead of 6261, readback process might fail!" % m.chip)
m.da_start()
print("DA sent and responsive, starting the operation")
ver = m.get_version().decode('ascii')