Update main.c read failure in sim_mode

sim-fail-2
Alan Johnston 4 months ago committed by GitHub
parent e39437bd55
commit 2b1ac62e90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -563,8 +563,8 @@ int main(int argc, char * argv[]) {
fclose(failure_mode_file);
}
}
else
{
// else
// {
// failureMode = OFF;
FILE * failure_mode_file = fopen("/home/pi/CubeSatSim/failure_mode.txt", "r");
if (failure_mode_file != NULL) {
@ -578,7 +578,7 @@ int main(int argc, char * argv[]) {
failureMode = FAIL_NONE;
printf("No simulated failure.\n");
}
}
// }
{
int count1;

Loading…
Cancel
Save

Powered by TurnKey Linux.