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/drivers/ao_cc1200.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/drivers/ao_cc1200.c')
-rw-r--r-- | src/drivers/ao_cc1200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_cc1200.c b/src/drivers/ao_cc1200.c index 45f5711e..105e0d50 100644 --- a/src/drivers/ao_cc1200.c +++ b/src/drivers/ao_cc1200.c @@ -192,7 +192,7 @@ ao_radio_fifo_write_fixed(uint8_t data, uint8_t len) static uint8_t ao_radio_int_pin(void) { - return ao_gpio_get(AO_CC1200_INT_PORT, AO_CC1200_INT_PIN, AO_CC1200_INT); + return ao_gpio_get(AO_CC1200_INT_PORT, AO_CC1200_INT_PIN); } static uint8_t |