Skip to content

Commit b5fbe7b

Browse files
committed
fix for #17 provided by guerby
Signed-off-by: Martin <[email protected]>
1 parent 5309e5f commit b5fbe7b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
2022-07-15: bugfix for upload_*_firmware_from_hex.py [5309e5f]
12
2022-04-02: new firmware: HW calibration signal output via T2OUT pin (HW change) [ecd6302]
23
2022-03-21: Fix #15 - install Linux files only when building under Linux [be76527]
34
2022-03-14: More refactoring [5d434c2]

examples/capture_6022.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@
135135
# scale the data packets and write them into the outfile
136136
#
137137
def pcb( ch1_data, ch2_data ):
138+
# use these global vaiables
139+
global skip1st,totalsize,dc1,dc2,rms1,rms2,timestep,start_time
138140
# define "static" variables
139141
if 'av1' not in pcb.__dict__:
140142
pcb.av1 = 0

0 commit comments

Comments
 (0)