diff options
Diffstat (limited to 'apps/system/i2c/i2ctool.h')
-rw-r--r-- | apps/system/i2c/i2ctool.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/system/i2c/i2ctool.h b/apps/system/i2c/i2ctool.h index 5abd731aa..81b7c0682 100644 --- a/apps/system/i2c/i2ctool.h +++ b/apps/system/i2c/i2ctool.h @@ -91,10 +91,11 @@ #endif /* This is the maximum number of arguments that will be accepted for a - * command + * command. The only real limit is in the OS configuration that limits + * the number of parameters passed to a task. */ -#define MAX_ARGUMENTS 6 +#define MAX_ARGUMENTS (CONFIG_MAX_TASK_ARGS-1) /* Maximum size of one command line */ |