mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
Merge #19467
19467: drivers/at86rf2xx: fix default page being ignored r=maribu a=jia200x Co-authored-by: Jose Alamos <jose@alamos.cc>
This commit is contained in:
commit
5a523ee894
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user