瀏覽代碼

Increase the timeout some more since it is only used for failure situations now.

Lourens Rozema 9 年之前
父節點
當前提交
a8c76bf8b7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nodemcu-uploader.py

+ 1 - 1
nodemcu-uploader.py

@@ -57,7 +57,7 @@ CHUNK_REPLY = '\v'
 class Uploader:
     BAUD = 9600
     PORT = '/dev/ttyUSB0'
-    TIMEOUT = 3
+    TIMEOUT = 5
 
     def expect(self, exp='> ', timeout=TIMEOUT):
         t = self._port.timeout