소스 검색

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