From db8bd1d28e4c41b120e7dd1abba849509265a7e0 Mon Sep 17 00:00:00 2001
From: burneykb <burneykb@iastate.edu>
Date: Mon, 23 Jan 2017 18:46:40 -0600
Subject: [PATCH] Adding setsetpoint to cli commands

---
 groundStation/src/cli/cli.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/groundStation/src/cli/cli.h b/groundStation/src/cli/cli.h
index 924b33fe1..48345bed7 100644
--- a/groundStation/src/cli/cli.h
+++ b/groundStation/src/cli/cli.h
@@ -5,12 +5,14 @@
 #include "cli_setpid.h"
 #include "cli_getpid.h"
 #include "cli_getimu.h"
+#include "cli_setsetpoint.h"
 
 enum CommandNameIds{
 	CMD_MONITOR,
 	CMD_GETPID,
 	CMD_SETPID,
 	CMD_GETIMU,
+	CMD_SETSETPOINT,
 	MAX_COMMANDS
 };
 
@@ -19,13 +21,15 @@ static cli_function_ptr cli_functions[] = {
 	&cli_monitor,
 	&cli_getpid,
 	&cli_setpid,
-	&cli_getimu
+	&cli_getimu,
+	&cli_setsetpoint
 };
 
 static char* commandNames[MAX_COMMANDS] = {
 	"monitor",
 	"getpid",
 	"setpid",
-	"getimu"
+	"getimu",
+	"setsetpoint"
 };
 #endif
-- 
GitLab