command.h 351 B
#ifndef _COMMAND_H
#define _COMMAND_H
#include <stdint.h>
#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);
#ifdef __cplusplus
}
#endif
#endif /* _COMMAND_H */