summaryrefslogtreecommitdiffstats
path: root/rf_test/send.c
diff options
context:
space:
mode:
Diffstat (limited to 'rf_test/send.c')
-rw-r--r--rf_test/send.c4
1 files changed, 1 insertions, 3 deletions
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();