Commit a8feb213 authored by jp7g21's avatar jp7g21
Browse files

Made command.h work in c++

parent 3777e58c
......@@ -3,12 +3,20 @@
#include <stdint.h>
struct command {
#ifdef __cplusplus
extern "C" {
#endif
struct command {
char comm_ch; /* Character of command (ie 's', 'v', 'd') */
int16_t arg[2];
};
};
uint8_t uart_add_ch(char c);
struct command *get_command(void);
uint8_t uart_add_ch(char c);
struct command *get_command(void);
#ifdef __cplusplus
}
#endif
#endif /* _COMMAND_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment