try 15 sec timeout

bp-new
alanbjohnston 5 years ago committed by GitHub
parent 347d67bbc4
commit 008d833a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -896,7 +896,7 @@ void get_tlm(void) {
// get GPS
char resBuffer[1000];
FILE * file_gps = popen("timeout 5 /home/pi/CubeSatSim/gpsd/gps.sh", "r");
FILE * file_gps = popen("timeout 15 /home/pi/CubeSatSim/gpsd/gps.sh", "r");
fgets(resBuffer, 1000, file_gps);
printf("GPS: %s \n", &resBuffer);

Loading…
Cancel
Save

Powered by TurnKey Linux.