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:
commit
f232401391
@ -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