[riot-notifications] [RIOT-OS/RIOT] drivers/nrf24l01p: Netdev driver for nrf24l01p (#13743)

benpicco notifications at github.com
Mon May 4 19:37:41 CEST 2020


@benpicco commented on this pull request.



> +    }
+    if (state == NETOPT_STATE_RX) {
+        return NRF24L01P_NG_STATE_RX_MODE;
+    }
+    return NRF24L01P_NG_STATE_UNDEFINED;
+}
+
+static
+void nrf24l01p_ng_irq_handler(void *_dev)
+{
+    nrf24l01p_ng_t *dev = (nrf24l01p_ng_t *)_dev;
+    /* Once the IRQ pin has triggered,
+       do not congest the thread´s
+       message queue with IRQ events */
+    gpio_irq_disable(dev->params.pin_irq);
+    DEBUG("[nrf24l01p_ng] IRQ\n");

```suggestion
    DEBUG_PUTS("[nrf24l01p_ng] IRQ");
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13743#pullrequestreview-405202088
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200504/fbe58fe4/attachment-0001.htm>


More information about the notifications mailing list