From cedb552f4e8da00d0b16fe6537693c671383b234 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 7 May 2025 02:39:41 -0700 Subject: only need to set just_start to false when it is true --- remote_plot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'remote_plot.c') diff --git a/remote_plot.c b/remote_plot.c index fcd018a..80c7800 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -277,7 +277,8 @@ static gboolean read_data(gpointer user_data) if(data->local || data->just_start) { - data->just_start=false; + if(data->just_start) + data->just_start=false; //printf("read_data check local pass\n"); FILE *fp; -- cgit v1.2.3-70-g09d2