From 61470de53ae5d4b9866c4f25e2caf098e3d60453 Mon Sep 17 00:00:00 2001 From: Dean Cording Date: Thu, 19 Apr 2018 18:11:57 +1000 Subject: [PATCH] Added watchdog timeout and automatic reconnection --- owonb35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owonb35.c b/owonb35.c index 5a8b2ea..428a7ce 100644 --- a/owonb35.c +++ b/owonb35.c @@ -603,7 +603,7 @@ void reconnect_device() { // Connection watchdog -guint timeout_sec = 10; +guint timeout_sec = 5; gboolean watchdog_check(gpointer data) {