mirror of
https://github.com/lowobservable/oec.git
synced 2026-05-04 15:06:31 +00:00
Add COAX_FAST_START option for new interface
This commit is contained in:
@@ -39,8 +39,10 @@ def _create_interface(args):
|
|||||||
serial.reset_input_buffer()
|
serial.reset_input_buffer()
|
||||||
serial.reset_output_buffer()
|
serial.reset_output_buffer()
|
||||||
|
|
||||||
# Allow the interface firmware time to start.
|
# Allow the interface firmware time to start, this is only required for the
|
||||||
time.sleep(3)
|
# original Arduino Mega based interface.
|
||||||
|
if 'COAX_FAST_START' not in os.environ:
|
||||||
|
time.sleep(3)
|
||||||
|
|
||||||
interface = SerialInterface(serial)
|
interface = SerialInterface(serial)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user