summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 53e8233..535ffcb 100644
--- a/main.c
+++ b/main.c
@@ -59,6 +59,8 @@ void radio_init(void)
write_reg(0x00, 0b00001100); /* use 2-byte CRC code */
write_reg(0x03, 0b00000001); /* set address width to 3 bytes */
write_reg(0x04, 0b00000000); /* disable automatic retransmission */
+ write_reg(0x05, 0b01110011); /* use 2.515GHz channel */
+ write_reg(0x06, 0b00000110); /* set data rate to 1Mbps */
}
int main(void)