From c015e5f97076306ec572b28a31dff451f93d2225 Mon Sep 17 00:00:00 2001 From: Kris Burney <burneykb@iastate.edu> Date: Thu, 10 Nov 2016 13:06:14 -0600 Subject: [PATCH] ready to use function pointers from other cli specific functions --- groundStation/src/cli/cli.c | 1 - groundStation/src/cli/cli.h | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/groundStation/src/cli/cli.c b/groundStation/src/cli/cli.c index e38966edd..ddd27cec8 100644 --- a/groundStation/src/cli/cli.c +++ b/groundStation/src/cli/cli.c @@ -2,7 +2,6 @@ #include <string.h> #include <err.h> - #include "cli.h" #include "frontend_common.h" diff --git a/groundStation/src/cli/cli.h b/groundStation/src/cli/cli.h index e193b5142..468518ec4 100644 --- a/groundStation/src/cli/cli.h +++ b/groundStation/src/cli/cli.h @@ -1,11 +1,15 @@ #ifndef __CLI_H #define __CLI_H + + + + enum CommandNameIds{ CMD_MONITOR, CMD_SETPID, CMD_GETPID, - CMD_GETImu, + CMD_GETIMU, MAX_COMMANDS }; @@ -16,6 +20,5 @@ static char* commandNames[MAX_COMMANDS] = { "getImu" }; -static #endif \ No newline at end of file -- GitLab