1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

Fix GPIO/SFIO defines: cosmetic change, gpio code was working properly despite the mistake

This commit is contained in:
hexkyz 2019-07-21 15:55:40 +01:00
parent d95e20952c
commit f9c1d5fc1b
4 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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