From 981a4f2de1dfaa1c0514f543ada49ba1b1a8a99a Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Wed, 20 Jan 2021 09:55:27 +0100
Subject: [PATCH] Let STEMLAB sdr app start up before re-discovering

---
 discovery.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/discovery.c b/discovery.c
index 78c0b2f..8cd3f44 100644
--- a/discovery.c
+++ b/discovery.c
@@ -108,6 +108,7 @@ static gboolean start_cb (GtkWidget *widget, GdkEventButton *event, gpointer dat
     // Since we have just started the app, we temporarily deactivate STEMlab detection
     //
     stemlab_cleanup();
+    sleep(2);          // let Stemlab SDR app start
     discover_only_p1=1;
     gtk_widget_destroy(discovery_dialog);
     g_idle_add(ext_discovery,NULL);
-- 
2.45.2