diff options
| author | Keith Packard <keithp@keithp.com> | 2018-08-15 17:47:37 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:22:50 -0700 |
| commit | c6e57291d91f1f6c4de5c54a5cfd3eef66d9f830 (patch) | |
| tree | 1fb7753fad10c6897906baec11d2f5756a9bb866 /src/drivers/ao_74hc497.c | |
| parent | 6023ff81f1bbd240169b9548209133d3b02d475f (diff) | |
altos: Remove 8051 address space specifiers
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_74hc497.c')
| -rw-r--r-- | src/drivers/ao_74hc497.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_74hc497.c b/src/drivers/ao_74hc497.c index b3fd3c91..e8c39430 100644 --- a/src/drivers/ao_74hc497.c +++ b/src/drivers/ao_74hc497.c @@ -27,7 +27,7 @@ uint8_t ao_74hc497_read(void) { - static __xdata state; + static state; ao_spi_get_bit(AO_74HC497_CS_PORT, AO_74HC497_CS_PIN, AO_74HC497_CS, AO_74HC497_SPI_BUS, AO_SPI_SPEED_FAST); ao_spi_recv(&state, 1, AO_74HC497_SPI_BUS); ao_spi_put_bit(AO_74HC497_CS_PORT, AO_74HC497_CS_PIN, AO_74HC497_CS, AO_74HC497_SPI_BUS); |
