diff options
Diffstat (limited to 'rf_test')
| -rw-r--r-- | rf_test/radio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c index b09bf7b..91374fc 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -84,7 +84,6 @@ uint8_t radio_recv(char *buf, uint8_t n) ; SPI_PORT &= ~(1 << SPI_SS); - SPDR = 0x00 | 0x7F; while (!(SPSR & (1 << SPIF))) ; @@ -95,7 +94,6 @@ uint8_t radio_recv(char *buf, uint8_t n) ; buf[read_len++] = SPDR; } - SPI_PORT |= (1 << SPI_SS); } return read_len; |
