From: razvanm Date: Fri, 25 Jan 2008 05:39:31 +0000 (+0000) Subject: Fix a typo in the code that handles the printf packets. Thanks to David "wizzardx... X-Git-Tag: release_tinyos_2_1_0_0~575 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=e7da64db38a12dd629eb3f1c39fd04b512694ba3 Fix a typo in the code that handles the printf packets. Thanks to David "wizzardx" for pointing the error. --- 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: