increased wait time during openbci_id

Esse commit está contido em:
Gabriel Ibagon
2016-07-20 17:45:24 -04:00
commit de GitHub
commit c5c490c2ef
+2 -3
Ver Arquivo
@@ -327,13 +327,12 @@ class OpenBCIBoard(object):
def openbci_id(self, serial):
"""
When starting the connection, print all the debug data until
we get to a line with the end sequence '$$$'.
When automatically detecting port, parse the serial return for the "OpenBCI" ID.
"""
line = ''
#Wait for device to send data
time.sleep(1)
time.sleep(2)
if serial.inWaiting():
line = ''