bug #58440: linuxgpio PIN limit too low

* libavrdude.h (PIN_MAX): bump (for HAVE_LINUXGPIO) to 400



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1502 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2021-11-27 21:54:56 +00:00
parent 03132d7338
commit 53de300b6e
3 changed files with 7 additions and 1 deletions

View File

@@ -369,7 +369,7 @@ enum {
#ifdef HAVE_LINUXGPIO
/* Embedded systems might have a lot more gpio than only 0-31 */
#undef PIN_MAX
#define PIN_MAX 255 /* largest allowed pin number */
#define PIN_MAX 400 /* largest allowed pin number */
#endif
/** Number of pins in each element of the bitfield */