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

benpicco notifications at github.com
Thu Jun 3 18:45:41 CEST 2021

@benpicco 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);

no reason to run this before `cpu_init()` 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210603/73ed9057/attachment.htm>

More information about the notifications mailing list