From f9c1d5fc1b4ba6b6046e8b1b11500ac474aeb85f Mon Sep 17 00:00:00 2001 From: hexkyz Date: Sun, 21 Jul 2019 15:55:40 +0100 Subject: [PATCH] Fix GPIO/SFIO defines: cosmetic change, gpio code was working properly despite the mistake --- fusee/fusee-primary/src/gpio.h | 4 ++-- fusee/fusee-secondary/src/gpio.h | 4 ++-- sept/sept-primary/src/gpio.h | 4 ++-- sept/sept-secondary/src/gpio.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fusee/fusee-primary/src/gpio.h b/fusee/fusee-primary/src/gpio.h index 145c5033c..7f0739ba0 100644 --- a/fusee/fusee-primary/src/gpio.h +++ b/fusee/fusee-primary/src/gpio.h @@ -96,8 +96,8 @@ static inline volatile tegra_gpio_t *gpio_get_regs(void) ((TEGRA_GPIO_PORT_##port * 8) + offset) /* Mode select */ -#define GPIO_MODE_GPIO 0 -#define GPIO_MODE_SFIO 1 +#define GPIO_MODE_SFIO 0 +#define GPIO_MODE_GPIO 1 /* Direction */ #define GPIO_DIRECTION_INPUT 0 diff --git a/fusee/fusee-secondary/src/gpio.h b/fusee/fusee-secondary/src/gpio.h index 145c5033c..7f0739ba0 100644 --- a/fusee/fusee-secondary/src/gpio.h +++ b/fusee/fusee-secondary/src/gpio.h @@ -96,8 +96,8 @@ static inline volatile tegra_gpio_t *gpio_get_regs(void) ((TEGRA_GPIO_PORT_##port * 8) + offset) /* Mode select */ -#define GPIO_MODE_GPIO 0 -#define GPIO_MODE_SFIO 1 +#define GPIO_MODE_SFIO 0 +#define GPIO_MODE_GPIO 1 /* Direction */ #define GPIO_DIRECTION_INPUT 0 diff --git a/sept/sept-primary/src/gpio.h b/sept/sept-primary/src/gpio.h index 145c5033c..7f0739ba0 100644 --- a/sept/sept-primary/src/gpio.h +++ b/sept/sept-primary/src/gpio.h @@ -96,8 +96,8 @@ static inline volatile tegra_gpio_t *gpio_get_regs(void) ((TEGRA_GPIO_PORT_##port * 8) + offset) /* Mode select */ -#define GPIO_MODE_GPIO 0 -#define GPIO_MODE_SFIO 1 +#define GPIO_MODE_SFIO 0 +#define GPIO_MODE_GPIO 1 /* Direction */ #define GPIO_DIRECTION_INPUT 0 diff --git a/sept/sept-secondary/src/gpio.h b/sept/sept-secondary/src/gpio.h index 145c5033c..7f0739ba0 100644 --- a/sept/sept-secondary/src/gpio.h +++ b/sept/sept-secondary/src/gpio.h @@ -96,8 +96,8 @@ static inline volatile tegra_gpio_t *gpio_get_regs(void) ((TEGRA_GPIO_PORT_##port * 8) + offset) /* Mode select */ -#define GPIO_MODE_GPIO 0 -#define GPIO_MODE_SFIO 1 +#define GPIO_MODE_SFIO 0 +#define GPIO_MODE_GPIO 1 /* Direction */ #define GPIO_DIRECTION_INPUT 0