]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/misc/tos-deluge
Fix the issue with tos-deluge not timing out properly.
[tinyos-2.x.git] / tools / tinyos / misc / tos-deluge
index 7a215a0e474cd82ced693d022feef1351ea33016..21d7727f96a61142d82f6678bfc70ce06d4b7274 100755 (executable)
@@ -186,7 +186,7 @@ def read(imgNum, offset, length):
 
 def erase(imgNum):
     # Note: the normal erase doesn't work properly on AT45DB. A
-    # workaround is to do the normal erase (to make happy STM45P)
+    # workaround is to do the normal erase (to make happy STM25P)
     # and then overwrite the metadata (to make happy AT45DB).
 
     sreqpkt = FMReqPacket((FM_CMD_ERASE, imgNum, 0, 0, []))
@@ -416,7 +416,7 @@ if len(sys.argv) >= 3:
 
     try:
         print "Checking if node is a Deluge T2 base station ..."
-        ident(timeout=5)
+        ident(timeout=1)
     except tos.Timeout:
         print "ERROR: Timeout. Is the node a Deluge T2 base station?"
         sys.exit(-1)