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

drivers/at86rf215: fix disabling individual modulations

This should work now:

DISABLE_MODULE += netdev_ieee802154_mr_oqpsk
DISABLE_MODULE += netdev_ieee802154_mr_ofdm
DISABLE_MODULE += netdev_ieee802154_mr_fsk
This commit is contained in:
Benjamin Valentin 2022-02-16 18:01:07 +01:00
parent 22a3fc7e8d
commit 03dc48602e
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;