Commit 7e96485a authored by rswindell's avatar rswindell
Browse files

Increase the maximum number of menu options from 10,000 to 100,000 to

accommodate configurations of more than 10,000 things (e.g. sub-boards)
in a single menu (e.g. message group).
This brings this value over the 16-bit thresholds (0x7ffff and 0xffff)
where problems could happen if short's/int16's are used to capture the
return value of uifc.list(), but that's unlikely happening anywhere. Still
a good idea to make sure if you're using this library/headers.
parent 5722a275
......@@ -96,7 +96,7 @@
#define MAX_OPTS 10000
#define MAX_OPTS 100000
#define MSK_ON 0xf0000000
#define MSK_OFF 0x0fffffff
#define MSK_INS 0x10000000
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment