From: Keith Packard Date: Tue, 3 Jun 2014 05:03:26 +0000 (-0700) Subject: altos: Configuring pyro channels can use more than 48 characters X-Git-Tag: 1.3.2.2~28 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=7385c76af46ff400b9e79a8540199be289cb57c0;hp=177d3c0333fd4218f01e05c78cbc5f186c8e32c0 altos: Configuring pyro channels can use more than 48 characters Increase the command buffer from 48 to 128 bytes to hold the longest pyro configuration commands Signed-off-by: Keith Packard --- diff --git a/src/kernel/ao_cmd.c b/src/kernel/ao_cmd.c index cd662314..69372fed 100644 --- a/src/kernel/ao_cmd.c +++ b/src/kernel/ao_cmd.c @@ -23,7 +23,11 @@ __pdata uint32_t ao_cmd_lex_u32; __pdata char ao_cmd_lex_c; __pdata enum ao_cmd_status ao_cmd_status; +#if AO_PYRO_NUM +#define CMD_LEN 128 +#else #define CMD_LEN 48 +#endif static __xdata char cmd_line[CMD_LEN]; static __pdata uint8_t cmd_len;