From 9159742ea721594548f76261ff04a61278a4b353 Mon Sep 17 00:00:00 2001 From: Christopher Stone Date: Fri, 9 Feb 2018 22:00:51 +0000 Subject: [PATCH] Found out what the first argument of pollSerial is --- telemetry/code/monitor/graph_plotter_rewrite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telemetry/code/monitor/graph_plotter_rewrite.py b/telemetry/code/monitor/graph_plotter_rewrite.py index 10e1950..1d23332 100755 --- a/telemetry/code/monitor/graph_plotter_rewrite.py +++ b/telemetry/code/monitor/graph_plotter_rewrite.py @@ -66,9 +66,9 @@ testseries = Series() plots = [] plots.append(Plot(testseries)) -def pollSerial(foo): +def pollSerial(elapsed): """Check serial port for incoming data""" - # Note, foo seems to be a float + # Note, elapsed is time since last call of this function values = datafeed.readline().strip().split(", ") testseries.addpoint(values) -- libgit2 0.21.2