summaryrefslogtreecommitdiff
path: root/src/drivers/ao_74hc165.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ao_74hc165.c')
-rw-r--r--src/drivers/ao_74hc165.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_74hc165.c b/src/drivers/ao_74hc165.c
index 8842801d..b62e0134 100644
--- a/src/drivers/ao_74hc165.c
+++ b/src/drivers/ao_74hc165.c
@@ -27,7 +27,7 @@
uint8_t
ao_74hc165_read(void)
{
- static __xdata state;
+ static state;
ao_spi_get(AO_74HC165_SPI_BUS);
ao_spi_set_speed(AO_74HC165_SPI_BUS, AO_SPI_SPEED_FAST);
AO_74HC165_CS = 1;