Skip to content
Snippets Groups Projects
Commit c4a2da7c authored by burneykb's avatar burneykb
Browse files

setsetpoint passing through to backend correctly, and symlinks added to gitignore

parent c303ccd5
No related branches found
No related tags found
No related merge requests found
...@@ -42,3 +42,9 @@ logs ...@@ -42,3 +42,9 @@ logs
BackEnd BackEnd
obj obj
Cli Cli
#symlinks
getpid
monitor
setpid
setsetpoint
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "cli_setsetpoint.h" #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; int c;
static int setheight = 0, setlat = 0, setlong = 0; static int setheight = 0, setlat = 0, setlong = 0;
struct frontend_setpoint_data setpoint_data; struct frontend_setpoint_data setpoint_data;
...@@ -14,8 +14,8 @@ int cli_set(struct backend_conn * conn, int argc, char **argv) { ...@@ -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. */ /* These options don’t set a flag. We distinguish them by their indices. */
{"help", no_argument, &needHelp, 1}, {"help", no_argument, &needHelp, 1},
{"height", required_argument, 0, 'h'}, {"height", required_argument, 0, 'h'},
{"long", required_argument, 0, 't'}, {"long", required_argument, 0, 'l'},
{"lat", required_argument, 0, 'l'}, {"lat", required_argument, 0, 't'},
{0, 0, 0, 0} {0, 0, 0, 0}
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment