summaryrefslogtreecommitdiffstats
path: root/rf_test/recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'rf_test/recv.c')
-rw-r--r--rf_test/recv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rf_test/recv.c b/rf_test/recv.c
index 64451a0..74d1672 100644
--- a/rf_test/recv.c
+++ b/rf_test/recv.c
@@ -4,7 +4,7 @@
#include "radio.h"
#include "serial.h"
-#define PAYLOAD_LEN 13
+#define BUFLEN 61
#define RX_PIN PB0
#define RX_DDR DDRB
@@ -38,13 +38,13 @@ int main(void)
ISR(RX_PCINTVEC)
{
uint8_t i, n;
- char buf[PAYLOAD_LEN + 1];
+ char buf[BUFLEN + 1];
cli();
serial_write_line("Handling pin change IRQ");
- n = radio_recv(buf, PAYLOAD_LEN);
+ n = radio_recv(buf, BUFLEN);
buf[n] = '\0';
for (i = 0; i < n; i++)