Skip to content
Snippets Groups Projects
Commit a8feb213 authored by jp7g21's avatar jp7g21
Browse files

Made command.h work in c++

parent 3777e58c
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,20 @@
#include <stdint.h>
struct command {
char comm_ch; /* Character of command (ie 's', 'v', 'd') */
int16_t arg[2];
};
#ifdef __cplusplus
extern "C" {
#endif
uint8_t uart_add_ch(char c);
struct command *get_command(void);
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);
#ifdef __cplusplus
}
#endif
#endif /* _COMMAND_H */
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