From 1f44cfedf7cb7c160648509ebfe312f5c93dd65d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 8 Jul 2024 15:19:23 -0400 Subject: [PATCH] Update main.c typo in offset --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index a82dfc4a..88a5ade4 100644 --- a/main.c +++ b/main.c @@ -46,7 +46,7 @@ int main(int argc, char * argv[]) { printf("Pi Zero detected\n"); FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r"); if (command_file == NULL) - pi_zero_offset = 500; + pi_zero_2_offset = 500; sleep(10); }