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