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 @@ ...@@ -3,13 +3,15 @@
#include <stdint.h> #include <stdint.h>
#define NUM_ARGS 3
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
struct command { struct command {
char comm_ch; /* Character of command (ie 's', 'v', 'd') */ 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); uint8_t uart_add_ch(char c);
......
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