From 45dd3c92a54804ac79cb91fae9feafc23eb7cd73 Mon Sep 17 00:00:00 2001 From: beeanyew Date: Sun, 26 Sep 2021 11:56:05 +0200 Subject: [PATCH] Fix up some GPIO input/output defines --- gpio/ps_protocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpio/ps_protocol.h b/gpio/ps_protocol.h index 4d0260b..e4b476e 100644 --- a/gpio/ps_protocol.h +++ b/gpio/ps_protocol.h @@ -55,11 +55,11 @@ #define GPIO_PULL *(gpio + 37) // Pull up/pull down #define GPIO_PULLCLK0 *(gpio + 38) // Pull up/pull down clock -#define GPFSEL0_INPUT 0x0024c240 +#define GPFSEL0_INPUT 0x00244240 #define GPFSEL1_INPUT 0x00000000 #define GPFSEL2_INPUT 0x00000000 -#define GPFSEL0_OUTPUT 0x0924c240 +#define GPFSEL0_OUTPUT 0x09244240 #define GPFSEL1_OUTPUT 0x09249249 #define GPFSEL2_OUTPUT 0x00000249