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)