Skip to content

Commit

Permalink
Fixed number of possible command arguments to 255 (from 8). This fixe…
Browse files Browse the repository at this point in the history
…s the problem where i2c/spi writes were trimmed after 5 or 6 bytes :(
  • Loading branch information
Alvaro Prieto committed Jan 14, 2016
1 parent 3549dcd commit 308707b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fw/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[]);
Expand Down

0 comments on commit 308707b

Please sign in to comment.