diff --git a/groundStation/.gitignore b/groundStation/.gitignore index 508a8f243429591a76f612c87353c847358052e0..0dcd9e523bd2a0079b3b28d1a57b0fdc07ebbf52 100644 --- a/groundStation/.gitignore +++ b/groundStation/.gitignore @@ -42,3 +42,9 @@ logs BackEnd obj Cli + +#symlinks +getpid +monitor +setpid +setsetpoint diff --git a/groundStation/src/cli/cli_setsetpoint.c b/groundStation/src/cli/cli_setsetpoint.c index 77bdef93ce2c3f59fb62ac06605b8d18f7111484..698aa35f3e73cf4df9aecdcf3cdc1df4859d139e 100644 --- a/groundStation/src/cli/cli_setsetpoint.c +++ b/groundStation/src/cli/cli_setsetpoint.c @@ -4,7 +4,7 @@ #include "cli_setsetpoint.h" -int cli_set(struct backend_conn * conn, int argc, char **argv) { +int cli_setsetpoint(struct backend_conn * conn, int argc, char **argv) { int c; static int setheight = 0, setlat = 0, setlong = 0; struct frontend_setpoint_data setpoint_data; @@ -14,8 +14,8 @@ int cli_set(struct backend_conn * conn, int argc, char **argv) { /* These options don’t set a flag. We distinguish them by their indices. */ {"help", no_argument, &needHelp, 1}, {"height", required_argument, 0, 'h'}, - {"long", required_argument, 0, 't'}, - {"lat", required_argument, 0, 'l'}, + {"long", required_argument, 0, 'l'}, + {"lat", required_argument, 0, 't'}, {0, 0, 0, 0} };