aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-07 02:39:41 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-07 02:39:41 -0700
commitcedb552f4e8da00d0b16fe6537693c671383b234 (patch)
tree9d021ce3bc13c54eb7949cfcd486c3eb0d55daa8 /remote_plot.c
parentf68d4c04ba23d89f3984f398d8d4298885d7b794 (diff)
only need to set just_start to false when it is true
Diffstat (limited to 'remote_plot.c')
-rw-r--r--remote_plot.c3
1 files changed, 2 insertions, 1 deletions
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;