1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

Merge pull request #4195 from LudwigKnuepfer/pr/pin_g

cpu/sam[dl]21: fix typo in gpio.c
This commit is contained in:
Thomas Eichinger 2015-11-01 09:15:21 +09:00
commit 8ec9fd4c93
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ int gpio_init_int(gpio_t pin, gpio_pp_t pullup, gpio_flank_t flank,
/* save callback */
gpio_config[exti].cb = cb;
gpio_config[exti].arg = arg;
/* configure ping as input and set MUX to peripheral function A */
/* configure pin as input and set MUX to peripheral function A */
gpio_init(pin, GPIO_DIR_IN, pullup);
gpio_init_mux(pin, GPIO_MUX_A);
/* enable clocks for the EIC module */

View File

@ -142,7 +142,7 @@ int gpio_init_int(gpio_t pin, gpio_pp_t pullup, gpio_flank_t flank,
/* save callback */
gpio_config[exti].cb = cb;
gpio_config[exti].arg = arg;
/* configure ping as input and set MUX to peripheral function A */
/* configure pin as input and set MUX to peripheral function A */
gpio_init(pin, GPIO_DIR_IN, pullup);
gpio_init_mux(pin, GPIO_MUX_A);
/* enable clocks for the EIC module */