mirror of
https://github.com/apache/nuttx.git
synced 2026-08-28 21:00:44 +00:00
Fix some typos that I just introduced... Sometimes I can't do anything right
This commit is contained in:
parent
4d393f3801
commit
002fa55c04
1 changed files with 4 additions and 4 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue