summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 854ae39..7f74974 100644
--- a/main.c
+++ b/main.c
@@ -74,9 +74,9 @@ void radio_init(void)
write_reg(0x00, 0b00001100); /* use 2-byte CRC code */
write_reg(0x01, 0b00000000); /* disable auto ack on all the pipes */
- write_reg(0x02, 0b00000001); /* enable rx address on data pipe 0 */
+ write_reg(0x02, 0b00000001); /* enable rx address on pipe 0 */
write_reg(0x03, 0b00000001); /* set address width to 3 bytes */
- write_reg(0x04, 0b00000000); /* disable automatic retransmission */
+ write_reg(0x04, 0b00000000); /* disable auto retransmission */
write_reg(0x05, 0b01110011); /* use 2.515GHz channel */
write_reg(0x06, 0b00000110); /* set data rate to 1Mbps */
}