boards/sim: Fix copy/paste bug
boards/sim/sim/sim/src/sim_ioexpander.c: * sim_gpio_initialize(): Fix what appears to be a copy/paste bug causing a wrong GPIO pin number to be used.
This commit is contained in:
parent
9b67c759cb
commit
585ca7d028
|
@ -73,7 +73,7 @@ int sim_gpio_initialize(void)
|
|||
IOEXP_SETDIRECTION(ioe, 1, IOEXPANDER_DIRECTION_OUT);
|
||||
IOEXP_SETOPTION(ioe, 1, IOEXPANDER_OPTION_INVERT,
|
||||
(void *)IOEXPANDER_VAL_NORMAL);
|
||||
IOEXP_SETOPTION(ioe, 2, IOEXPANDER_OPTION_INTCFG,
|
||||
IOEXP_SETOPTION(ioe, 1, IOEXPANDER_OPTION_INTCFG,
|
||||
(void *)IOEXPANDER_VAL_DISABLE);
|
||||
gpio_lower_half(ioe, 1, GPIO_OUTPUT_PIN, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue