Update main.c v1.2.1

old-payload
Alan Johnston 2 months ago committed by GitHub
parent 47220a7445
commit 8a4c9ac4e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -25,9 +25,13 @@
#define OLD_STEM_PAYLOAD // Use with old v1.2 STEM Payload code #define OLD_STEM_PAYLOAD // Use with old v1.2 STEM Payload code
int main(int argc, char * argv[]) { int main(int argc, char * argv[]) {
printf("\n\nCubeSatSim v2.2 starting...\n\n");
#ifdef OLD_STEM_PAYLOAD
printf("\n\nCubeSatSim v1.2.1 starting...\n");
printf("This code should only be used with the v1.2 STEM Payload (white board)\n\n");
#else
printf("\n\nCubeSatSim v2.2 starting...\n\n");
#endif
wiringPiSetup(); wiringPiSetup();
strcpy(fail_yes, "no"); strcpy(fail_yes, "no");

Loading…
Cancel
Save

Powered by TurnKey Linux.