Commit 9159742ea721594548f76261ff04a61278a4b353

Authored by Christopher Stone
1 parent e4e75d3f
Exists in master

Found out what the first argument of pollSerial is

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
telemetry/code/monitor/graph_plotter_rewrite.py
@@ -66,9 +66,9 @@ testseries = Series() @@ -66,9 +66,9 @@ testseries = Series()
66 plots = [] 66 plots = []
67 plots.append(Plot(testseries)) 67 plots.append(Plot(testseries))
68 68
69 -def pollSerial(foo): 69 +def pollSerial(elapsed):
70 """Check serial port for incoming data""" 70 """Check serial port for incoming data"""
71 - # Note, foo seems to be a float 71 + # Note, elapsed is time since last call of this function
72 values = datafeed.readline().strip().split(", ") 72 values = datafeed.readline().strip().split(", ")
73 testseries.addpoint(values) 73 testseries.addpoint(values)
74 74