[riot-notifications] [RIOT-OS/RIOT] cpu/nrf5x: enhance external HF clock source handling to allow for substantial energy savings (#15804)

benpicco notifications at github.com
Sun Jan 24 14:55:54 CET 2021


@benpicco commented on this pull request.



> +    --_hfxo_requests;
+    if (_hfxo_requests == 0) {

```suggestion
    if (_hfxo_requests && --_hfxo_requests == 0) {
```

to avoid the possibility of underflow. 

-- 
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/15804#pullrequestreview-574932794
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210124/cfd29c76/attachment.htm>


More information about the notifications mailing list