diff options
author | Keith Packard <keithp@keithp.com> | 2018-09-11 10:40:24 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:23:25 -0700 |
commit | cdaa0d7b272505c49017f409b7c0b8e3240608f0 (patch) | |
tree | 75a8777ac04f7d4cc31260a5a7fd9dc9e3576948 /src/lpc/ao_boot_pin.c | |
parent | f7ca88282466c271bad5e25e804729580fe83c47 (diff) |
altos: Eliminate 'pin' field from GPIO functions
This was used with the 8051 bit-addressing mode to provide
single-instruction access to GPIO pins.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_boot_pin.c')
-rw-r--r-- | src/lpc/ao_boot_pin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc/ao_boot_pin.c b/src/lpc/ao_boot_pin.c index e3c7d0c1..a51c7f8d 100644 --- a/src/lpc/ao_boot_pin.c +++ b/src/lpc/ao_boot_pin.c @@ -36,7 +36,7 @@ ao_boot_check_pin(void) ao_arch_nop(); /* Read the value */ - v = ao_gpio_get(AO_BOOT_APPLICATION_GPIO, AO_BOOT_APPLICATION_PIN, AO_BOOT_APPLICATION); + v = ao_gpio_get(AO_BOOT_APPLICATION_GPIO, AO_BOOT_APPLICATION_PIN); /* Reset the chip to turn off the port and the power interface clock */ ao_gpio_set_mode(AO_BOOT_APPLICATION_GPIO, AO_BOOT_APPLICATION_PIN, 0); |