Update main.c initialize failTime

master-r
Alan Johnston 1 week ago committed by GitHub
parent 204d4ea7c1
commit 8748a76dce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -90,6 +90,7 @@ int main(int argc, char * argv[]) {
if (strcmp(fail_yes, "yes") == 0) { if (strcmp(fail_yes, "yes") == 0) {
fail_rnd_mode = TRUE; fail_rnd_mode = TRUE;
fprintf(stderr, "Random fail mode is ON\n"); fprintf(stderr, "Random fail mode is ON\n");
failTime = loopTime;
} }
FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r");

Loading…
Cancel
Save

Powered by TurnKey Linux.