aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/internal.h
diff options
context:
space:
mode:
authorBIGTREETECH <38851044+bigtreetech@users.noreply.github.com>2022-12-12 09:07:58 +0800
committerGitHub <noreply@github.com>2022-12-11 20:07:58 -0500
commit516fdae2b740f659ef42d95815be60fcd2defaf0 (patch)
tree48368d64a119fd15f61f2fb57441344061255612 /src/linux/internal.h
parent03006f5ca3bca13bbf4f4aa8720c99aee5d7906b (diff)
downloadkutter-516fdae2b740f659ef42d95815be60fcd2defaf0.tar.gz
kutter-516fdae2b740f659ef42d95815be60fcd2defaf0.tar.xz
kutter-516fdae2b740f659ef42d95815be60fcd2defaf0.zip
linux: add 'GPIOI' for linux process (#5926)
Signed-off-by: Alan.Ma from BigTreeTech tech@biqu3d.com
Diffstat (limited to 'src/linux/internal.h')
-rw-r--r--src/linux/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/internal.h b/src/linux/internal.h
index 001a9072..db841ac9 100644
--- a/src/linux/internal.h
+++ b/src/linux/internal.h
@@ -6,7 +6,7 @@
#include <stdint.h> // uint32_t
#include "autoconf.h" // CONFIG_CLOCK_FREQ
-#define MAX_GPIO_LINES 256
+#define MAX_GPIO_LINES 288
#define GPIO(PORT, NUM) ((PORT) * MAX_GPIO_LINES + (NUM))
#define GPIO2PORT(PIN) ((PIN) / MAX_GPIO_LINES)
#define GPIO2PIN(PIN) ((PIN) % MAX_GPIO_LINES)