set rpitxStatus if socket lost

pull/28/head
alanbjohnston 7 years ago committed by GitHub
parent f32c8d00a6
commit e813ba537b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -919,6 +919,7 @@ int get_tlm_fox() {
if (sock_ret == -1) {
printf("Error: %s \n", strerror(errno));
socket_open = 0;
rpitxStatus = -1;
}
// alt = (++alt) % 2;
printf("Alternate value is %d \n", alt);

Loading…
Cancel
Save

Powered by TurnKey Linux.