1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/at86rf2xx: fix default page

This commit is contained in:
Jose Alamos 2023-04-13 11:10:54 +02:00
parent 99b13cbb1b
commit 268487097b
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -85,6 +85,11 @@ void at86rf2xx_reset(at86rf2xx_t *dev)
/* set default channel, page and TX power */
at86rf2xx_configure_phy(dev, AT86RF2XX_DEFAULT_CHANNEL, AT86RF2XX_DEFAULT_PAGE, AT86RF2XX_DEFAULT_TXPOWER);
/* Record the default channel page in the device descriptor */
#if AT86RF2XX_HAVE_SUBGHZ
dev->page = AT86RF2XX_DEFAULT_PAGE;
#endif
/* set default options */
if (!IS_ACTIVE(AT86RF2XX_BASIC_MODE)) {