changeset 123:9f1094b1587a

Cleanup
author Windel Bouwman
date Sat, 12 Jan 2013 12:52:18 +0100
parents aaa4939a7942
children d38729d35c4d
files python/stlink.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)