From 606701a3d517e0f39c11ba077ec2a3fb0535ce2f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 20 Jun 2024 09:32:21 -0400 Subject: [PATCH] Update main.c changed %s to %d --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index f0fa5112..1705a9bd 100644 --- a/main.c +++ b/main.c @@ -59,7 +59,7 @@ int main(int argc, char * argv[]) { // char * cfg_buf[100]; - fscanf(config_file, "%s %d %f %f %s %d %s %s %s %s %s", + fscanf(config_file, "%s %d %f %f %s %d %s %s %s %d %d", call, & reset_count, & lat_file, & long_file, sim_yes, & squelch, tx, rx, hab_yes, & rx_pl, & tx_pl); fclose(config_file); fprintf(stderr,"Config file /home/pi/CubeSatSim/sim.cfg contains %s %d %f %f %s %d %s %s %s %d %d\n",