Select Git revision
command.h 415 B
#ifndef _COMMAND_H
#define _COMMAND_H
#include <stdint.h>
#define NUM_ARGS 3
#ifdef __cplusplus
extern "C" {
#endif
struct command {
char comm_ch; /* Character of command (ie 's', 'v', 'd') */
int16_t arg[NUM_ARGS];
};
extern char comm_str[33];
uint8_t uart_add_ch(char c);
struct command *get_command(void);
#ifdef __cplusplus
}
#endif
#endif /* _COMMAND_H */