From 308707bdf99e403c47509f8c2a599e401d17d955 Mon Sep 17 00:00:00 2001 From: Alvaro Prieto Date: Thu, 14 Jan 2016 14:35:57 -0800 Subject: [PATCH] Fixed number of possible command arguments to 255 (from 8). This fixes the problem where i2c/spi writes were trimmed after 5 or 6 bytes :( --- fw/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/console.c b/fw/console.c index 9810173..c601a83 100644 --- a/fw/console.c +++ b/fw/console.c @@ -26,7 +26,7 @@ static uint8_t *uid = (uint8_t *)(0x1FFF7A10); static char cmdBuff[64]; static uint8_t argc; -static char* argv[8]; +static char* argv[255]; static void helpFn(uint8_t argc, char *argv[]); static void i2cCmd(uint8_t argc, char *argv[]);