# HG changeset patch # User Windel Bouwman # Date 1357991538 -3600 # Node ID 9f1094b1587aefff93b34db6b899fe1e57b5c22f # Parent aaa4939a7942e44ee9d9813924f588fed4bb7826 Cleanup diff -r aaa4939a7942 -r 9f1094b1587a python/stlink.py --- a/python/stlink.py Sat Jan 12 12:49:27 2013 +0100 +++ b/python/stlink.py Sat Jan 12 12:52:18 2013 +0100 @@ -156,7 +156,6 @@ swim_v = b1 & 0x3f vid = (b3 << 8) | b2 pid = (b5 << 8) | b4 - return 'stlink={0} jtag={1} swim={2} vid:pid={3:04X}:{4:04X}'.format(\ stlink_v, jtag_v, swim_v, vid, pid) Version = property(getVersion) @@ -443,8 +442,6 @@ print('status: {0}'.format(sl.StatusString)) - #time.sleep(2.2) - # test registers: sl.write_reg(3, 0x1337) sl.write_reg(2, 0x1332)