Fix compile warning on android/hamlib-compile

pull/574/head
Michael Black W9MDB 2021-02-27 23:57:57 -06:00
rodzic 67afeb85e7
commit df549c2d0f
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -776,6 +776,8 @@ static void *read_device(void *p)
return NULL; return NULL;
} }
#if defined(HAVE_PTHREAD) && defined(HAVE_SOCKETPAIR) && defined(HAVE_SELECT)
// //
// This is the right place to ensure that a heartbeat is sent // This is the right place to ensure that a heartbeat is sent
// to the microham device regularly (15 sec delay is the maximum // to the microham device regularly (15 sec delay is the maximum
@ -785,6 +787,7 @@ static void *read_device(void *p)
{ {
heartbeat(); heartbeat();
} }
#endif
// //
// Wait for something to arrive, either from the microham device // Wait for something to arrive, either from the microham device