Update main.c if command and control off, don't add extra delay

beta-aprs
Alan Johnston 1 year ago committed by GitHub
parent 4fb596fd1a
commit 5836db7ecb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -44,6 +44,9 @@ int main(int argc, char * argv[]) {
} }
else { else {
printf("Pi Zero detected\n"); printf("Pi Zero detected\n");
FILE * command_file = fopen("/home/pi/CubeSatSim/command_control", "r");
if (command_file == NULL)
pi_zero_offset = 500;
sleep(10); sleep(10);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.