From 14a0d13f94316cb948bba1f6e69dfc4f6d7cca79 Mon Sep 17 00:00:00 2001 From: stefanrueger Date: Wed, 19 Aug 2026 07:11:09 +0200 Subject: [PATCH] Move Pinmask typedef to right section --- src/libavrdude.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libavrdude.h b/src/libavrdude.h index 3c87d228..df826ccf 100644 --- a/src/libavrdude.h +++ b/src/libavrdude.h @@ -53,8 +53,6 @@ * with the application. */ -typedef uint32_t Pinmask; - /* * Values returned by library functions. Some library functions also return a * count, i.e. a positive number greater than 0. @@ -690,6 +688,8 @@ extern "C" { // Formerly pindefs.h +typedef uint32_t Pinmask; + enum { PPI_AVR_VCC = 1, PPI_AVR_BUFF, @@ -714,7 +714,6 @@ enum { #define PIN_MAX 31 // Largest allowed pin number #ifdef HAVE_LINUXGPIO - // Embedded systems might have a lot more gpio than only 0-31 #undef PIN_MAX #define PIN_MAX 1000 // Largest allowed pin number