Skip to content
Snippets Groups Projects
Commit 783e78eb authored by Xoaquin Castrelo's avatar Xoaquin Castrelo
Browse files

Changed the number of arguments in a command.

parent 7713ca81
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment