From 64f42e25a5f5d5929a0eb2ceba2b5ef8f6e2ee27 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 8 Dec 2024 17:34:29 +0800 Subject: Fix tx start condition. --- rf_test/radio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rf_test/radio.c b/rf_test/radio.c index fe3ce08..b525310 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -63,8 +63,6 @@ void radio_send(const char *data, uint8_t n) while (!(read_reg(0x28) & 0x08)) ; - serial_write_line("sending data"); - write_reg(0x01, 0x04); while ((read_reg(0x27) & 80)) ; @@ -126,7 +124,7 @@ void radio_init(const struct radio_cfg *cfg) write_reg(0x39, cfg->nodeid); // fifo config - write_reg(0x0F, 0x8F); + write_reg(0x3C, 0x8F); // DAGC config write_reg(0x6F, 0x30); -- cgit v1.2.3