diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-04-30 02:33:40 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-04-30 02:33:40 -0700 |
commit | 3b9dd50ccbf6f3290c0eff0cc95dfa6cc438f4bb (patch) | |
tree | 8486519018a2d50c0ecc2a5476a4e63c2f50ac83 /remote_plot.c | |
parent | bb61fdf4f9644eb6bbe1152504a224b8b6232501 (diff) |
run read_data() instantaneously, so plot can start right away
Diffstat (limited to 'remote_plot.c')
-rw-r--r-- | remote_plot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remote_plot.c b/remote_plot.c index 5e3a1dc..6f3279d 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -699,6 +699,7 @@ static void activate (GtkApplication *app, gpointer user_data) gtk_window_present (GTK_WINDOW (window)); + read_data(user_data); //printf("before g_timeout_add\n"); g_timeout_add(1000,read_data,user_data); //printf("after g_timeout_add\n"); |