1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #17667 from benpicco/drivers/at86rf215-disable_mod

drivers/at86rf215: fix disabling individual modulations
This commit is contained in:
Marian Buschsieweke 2022-02-16 22:26:08 +01:00 committed by GitHub
commit f232401391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -1 +1,13 @@
SRC := at86rf215.c at86rf215_getset.c at86rf215_netdev.c at86rf215_internal.c
ifneq (,$(filter netdev_ieee802154_mr_ofdm,$(USEMODULE)))
SRC += at86rf215_ofdm.c
endif
ifneq (,$(filter netdev_ieee802154_mr_fsk,$(USEMODULE)))
SRC += at86rf215_fsk.c
endif
ifneq (,$(filter netdev_ieee802154_oqpsk netdev_ieee802154_mr_oqpsk,$(USEMODULE)))
SRC += at86rf215_o-qpsk.c
endif
include $(RIOTBASE)/Makefile.base

View File

@ -69,6 +69,7 @@ static bool _is_busy(at86rf215_t *dev)
return false;
}
__attribute__((unused))
static uint8_t _get_best_match(const uint8_t *array, uint8_t len, uint8_t val)
{
uint8_t res = 0;