From 8a4c9ac4e0a99c1f5794d80e8ac4de1d91b7bd0e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 27 Oct 2025 22:28:23 -0400 Subject: [PATCH] Update main.c v1.2.1 --- main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 1762a80f..83d722e5 100644 --- a/main.c +++ b/main.c @@ -25,9 +25,13 @@ #define OLD_STEM_PAYLOAD // Use with old v1.2 STEM Payload code 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(); strcpy(fail_yes, "no");