[riot-notifications] [RIOT-OS/RIOT] boards/samr21-xpro: only configure antenna switch if radio is used (#16524)

Francisco notifications at github.com
Thu Jun 3 18:42:50 CEST 2021


@fjmolinas commented on this pull request.



> -    /* initialize the on-board antenna switch */
-    gpio_init(RFCTL1_PIN, GPIO_OUT);
-    gpio_init(RFCTL2_PIN, GPIO_OUT);
-    /* set default antenna switch configuration */
-    board_antenna_config(RFCTL_ANTENNA_DEFAULT);
-

Why move it down?

-- 
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/16524#pullrequestreview-675507534
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210603/6ba9e613/attachment.htm>


More information about the notifications mailing list