summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rf_test/radio.c1
-rw-r--r--rf_test/send.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c
index 73c7099..71e7024 100644
--- a/rf_test/radio.c
+++ b/rf_test/radio.c
@@ -89,7 +89,6 @@ uint8_t radio_recv(char *buf, uint8_t n)
;
buf[i++] = SPDR;
}
-
SPI_PORT |= (1 << SPI_SS);
}
return i;
diff --git a/rf_test/send.c b/rf_test/send.c
index 5dea8f3..4ccea03 100644
--- a/rf_test/send.c
+++ b/rf_test/send.c
@@ -8,13 +8,11 @@
#include "radio.h"
#include "serial.h"
-#define PAYLOAD_LEN 13
-
int main(void)
{
struct radio_cfg cfg;
-
const char *s = "hello, world!";
+
cfg.payload_len = PAYLOAD_LEN;
serial_init();