Skip to content

Commit f108dbd

Browse files
committed
halscope: init "saved_vert_offset"
Addition to #4128 because of #3722
1 parent 5235a84 commit f108dbd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hal/utils/scope_files.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ void read_log_file(char *filename)
643643

644644
/* Set default scale and offset */
645645
chan->vert_offset = 0.0;
646+
chan->saved_vert_offset = 0.0;
646647
chan->ac_offset = 0;
647648

648649
/* Apply position and scale from CSV if available */

0 commit comments

Comments
 (0)