reset sampleTime when doing firstTme filling

pull/105/head
alanbjohnston 5 years ago committed by GitHub
parent 1f56695531
commit 4a5f707cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2216,6 +2216,7 @@ void get_tlm_fox() {
printf("socket resend %d in %d ms bytes: %d \n\n",times, millis() - start, sock_ret);
}
}
sampleTime = (unsigned int) millis(); // resetting time for sleeping
}
if (sock_ret == -1) {

Loading…
Cancel
Save

Powered by TurnKey Linux.