Commit 783e78eb authored by Xoaquin Castrelo's avatar Xoaquin Castrelo
Browse files

Changed the number of arguments in a command.

parent 7713ca81
......@@ -3,13 +3,15 @@
#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[2];
int16_t arg[NUM_ARGS];
};
uint8_t uart_add_ch(char c);
......
Markdown is supported
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