From e7da64db38a12dd629eb3f1c39fd04b512694ba3 Mon Sep 17 00:00:00 2001 From: razvanm Date: Fri, 25 Jan 2008 05:39:31 +0000 Subject: [PATCH] Fix a typo in the code that handles the printf packets. Thanks to David "wizzardx" for pointing the error. --- tools/tinyos/misc/tos-deluge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tinyos/misc/tos-deluge b/tools/tinyos/misc/tos-deluge index 6542c78c..4e71e0c5 100755 --- a/tools/tinyos/misc/tos-deluge +++ b/tools/tinyos/misc/tos-deluge @@ -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: -- 2.39.2