diff --git a/python/davis_etl.py b/python/davis_etl.py index dd7b7ce..224b4c7 100755 --- a/python/davis_etl.py +++ b/python/davis_etl.py @@ -91,6 +91,7 @@ _DEBUG_FILE = _LOG_DIR + _LOG_FILE_ROOT + u'.dbg' # finite loop implementation, tout for 43200 cycles tout = 0 +_SERIAL_CONSOLE = '/dev/ttyUSBdavis' _ABS_ZERO = 273.15 _HEIGHT = 455 temp = {} @@ -368,7 +369,7 @@ if '__main__': davis_decoder = davisDecoder() davis_writer = DBwriter() try: - with serial.Serial('/dev/ttyUSBdavis', 9600) as davis: + with serial.Serial(_SERIAL_CONSOLE, 9600) as davis: # Now, let it run a couple times, end and restart via systemd while tout < 400: line = davis.readline()