From 82e4065e6609c68d23f1955ea03f8cb52bb232a2 Mon Sep 17 00:00:00 2001 From: Patrick Moessler Date: Sun, 9 Jan 2022 19:58:49 +0100 Subject: [PATCH] fix parser choice --- tw88xx_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tw88xx_util.py b/tw88xx_util.py index f745801..61427bd 100644 --- a/tw88xx_util.py +++ b/tw88xx_util.py @@ -34,7 +34,7 @@ args = parser.parse_args() if args.interface == 'swd': from i2c_interfaces import JLinkSwdI2CInterface i2c = JLinkSwdI2CInterface(jlink_serial=args.jlink) -elif args.interface == 'dev': +elif args.interface == 'devi2c': from i2c_interfaces import DevI2CInterface i2c = DevI2CInterface(bus=args.bus)