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

having compile issues. Looking into them

parent 9ae7336c
No related branches found
No related tags found
1 merge request!2WIP: use a circular buffer
#ifndef __CLI_H
#define __CLI_H
#include "cli_setsetpoint.h"
#include "cli_monitor.h"
#include "cli_setpid.h"
#include "cli_getpid.h"
#include "cli_getimu.h"
#include "cli_setsetpoint.h"
enum CommandNameIds{
CMD_MONITOR,
......@@ -32,4 +32,5 @@ static char* commandNames[MAX_COMMANDS] = {
"getimu",
"setsetpoint"
};
#endif
......@@ -3,7 +3,6 @@
#include <getopt.h>
#include "cli_setsetpoint.h"
#include "frontend_setsetpoint.h"
int cli_set(struct backend_conn * conn, int argc, char **argv) {
int c;
......
......@@ -5,4 +5,4 @@
int cli_setsetpoint(struct backend_conn * conn, int argc, char ** argv);
#endif
#endif /* CLI_SETSETPOINT_H */
......@@ -12,6 +12,9 @@ int frontend_setpid(
#define SET_P 0x01
#define SET_I 0x02
#define SET_D 0x04
#ifndef SET_ALL
#define SET_ALL (SET_P | SET_I | SET_D)
#endif /* SET_ALL */
#endif /* FRONTEND_SETPID_H */
\ No newline at end of file
......@@ -12,6 +12,9 @@ int frontend_setsetpoint(
#define SET_X 0x01
#define SET_Y 0x02
#define SET_Z 0x04
#ifndef SET_ALL
#define SET_ALL (SET_X | SET_Y | SET_Z)
#endif /* SET_ALL */
#endif /* FRONTEND_SETSETPOINT_H */
\ No newline at end of file
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