]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Fix a typo in the code that handles the printf packets. Thanks to David "wizzardx...
authorrazvanm <razvanm>
Fri, 25 Jan 2008 05:39:31 +0000 (05:39 +0000)
committerrazvanm <razvanm>
Fri, 25 Jan 2008 05:39:31 +0000 (05:39 +0000)
tools/tinyos/misc/tos-deluge

index 6542c78c4d84fbbe8ec3e60a4a78cdec4f65452e..4e71e0c528a935f36cd8e025941172500dc66b99 100755 (executable)
@@ -131,7 +131,7 @@ def handleResponse(success, msg):
     if success == True:
         packet = s.sniff_am()
         while packet and packet.type == 100:
-            print "".join([chr(i) for i in p.data])
+            print "".join([chr(i) for i in packet.data])
             packet = s.sniff_am()
         reply = SerialReplyPacket(packet.data)
         if reply.error == ERROR_SUCCESS: