]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/misc/tos-deluge
Fix a typo in the code that handles the printf packets. Thanks to David "wizzardx...
[tinyos-2.x.git] / 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: