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:
parent
22a3fc7e8d
commit
03dc48602e
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user