From 7787e68f4ea97e7823eac0dbff9f4b0b0926edfd Mon Sep 17 00:00:00 2001 From: Luxferre <3335173-suborg@noreply.users.gitlab.com> Date: Tue, 28 Jul 2020 20:54:42 +0300 Subject: [PATCH] Fixed chip warning --- mtreader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtreader.py b/mtreader.py index 00a32ca..54df026 100644 --- a/mtreader.py +++ b/mtreader.py @@ -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')