Skip to content

Commit

Permalink
Added watchdog timeout and automatic reconnection
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanCording committed Apr 19, 2018
1 parent 78cd015 commit 61470de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owonb35.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ void reconnect_device() {

// Connection watchdog

guint timeout_sec = 10;
guint timeout_sec = 5;

gboolean watchdog_check(gpointer data) {

Expand Down

0 comments on commit 61470de

Please sign in to comment.