From 141493fadd172c9cf529fd31355983f752829e87 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 9 Feb 2025 10:55:11 +0800 Subject: wip. --- nRF24L01/radio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nRF24L01') diff --git a/nRF24L01/radio.c b/nRF24L01/radio.c index 50887b8..097b22f 100644 --- a/nRF24L01/radio.c +++ b/nRF24L01/radio.c @@ -131,7 +131,9 @@ void radio_init(const struct radio_cfg *cfg) _delay_ms(NRF24L01_POWER_ON_RST_DELAY); conf = 0; - conf |= (1 << NRF24L01_MASK_RX_DR) | (1 << NRF24L01_MASK_TX_DS) | (1 << NRF24L01_MASK_MAX_RT); + conf |= (1 << NRF24L01_MASK_RX_DR); + conf |= (1 << NRF24L01_MASK_TX_DS); + conf |= (1 << NRF24L01_MASK_MAX_RT); conf |= (1 << NRF24L01_EN_CRC); conf |= (1 << NRF24L01_CRCO); conf &= ~(1 << NRF24L01_PWR_UP); -- cgit v1.2.3