Update main.c revert last change

pacsat-v2.2-tlm2
Alan Johnston 4 weeks ago committed by GitHub
parent 368883dcd9
commit 8d9fb6b481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1883,7 +1883,8 @@ 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
fflush(stdout);
// if (firstTime == 1)
// max -= 1;
}
@ -1907,16 +1908,12 @@ void get_tlm_fox() {
fprintf(stderr, " See http://cubesatsim.org/wiki for info about building a CubeSatSim\n\n");
}
if (firstTime && (mode == PACSAT))
{
firstTime = OFF;
fprintf(stderr, "No longer first time\n");
fflush(stdout);
}
sampleTime = (unsigned int) millis(); // resetting time for sleeping
fflush(stdout);
// if (firstTime && (mode == PACSAT))
// {
// firstTime = OFF;
// fprintf(stderr, "No longer first time\n");
// fflush(stdout);
// }
return;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.