From 002fa55c0468b555dbd7cd333985b887e1cdb692 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 24 Oct 2014 17:58:33 -0600 Subject: [PATCH] Fix some typos that I just introduced... Sometimes I can't do anything right --- arch/arm/src/efm32/efm32_gpio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/efm32/efm32_gpio.c b/arch/arm/src/efm32/efm32_gpio.c index cdb5c1567e..32bc200b08 100644 --- a/arch/arm/src/efm32/efm32_gpio.c +++ b/arch/arm/src/efm32/efm32_gpio.c @@ -330,9 +330,9 @@ void efm32_gpiowrite(gpio_pinset_t pinset, bool value) /* Get basic pin configuration information */ - port = efm32_getport(cfgset); + port = efm32_getport(pinset); base = EFM32_GPIO_Pn_BASE(port); - pin = efm32_getpin(cfgset); + pin = efm32_getpin(pinset); /* And set the output value */ @@ -355,9 +355,9 @@ bool efm32_gpioread(gpio_pinset_t pinset) /* Get basic pin configuration information */ - port = efm32_getport(cfgset); + port = efm32_getport(pinset); base = EFM32_GPIO_Pn_BASE(port); - pin = efm32_getpin(cfgset); + pin = efm32_getpin(pinset); /* And return the input value of the pin */