diff options
author | Keith Packard <keithp@keithp.com> | 2011-10-11 20:58:04 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-10-11 20:58:04 -0600 |
commit | 47c2c0b79dc516d2566ae149605b7d70ef2dca98 (patch) | |
tree | e0e922b1c67c0f19c31dd0d25ec29c3d8baa5a94 /src/avr/ao_spi_slave.c | |
parent | 652c024ed37bfed5de17f45c772796d5cbe4599f (diff) |
Bump to 1.0.9.31.0.9.3
TeleScience and TelePyro now work.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr/ao_spi_slave.c')
-rw-r--r-- | src/avr/ao_spi_slave.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/avr/ao_spi_slave.c b/src/avr/ao_spi_slave.c index 3aa0b97f..b742d29a 100644 --- a/src/avr/ao_spi_slave.c +++ b/src/avr/ao_spi_slave.c @@ -18,7 +18,7 @@ #include "ao.h" uint8_t -ao_spi_read(uint8_t *buf, uint8_t len) +ao_spi_slave_recv(uint8_t *buf, uint8_t len) { while (len--) { while (!(SPSR & (1 << SPIF))) @@ -30,7 +30,7 @@ ao_spi_read(uint8_t *buf, uint8_t len) } void -ao_spi_write(uint8_t *buf, uint8_t len) +ao_spi_slave_send(uint8_t *buf, uint8_t len) { while (len--) { SPDR = *buf++; |