# Set a custom channel if needed ifneq (,$(filter cc110x,$(USEMODULE))) # radio is cc110x sub-GHz DEFAULT_CHANNEL ?= 0 CFLAGS += -DCC110X_DEFAULT_CHANNEL=$(DEFAULT_CHANNEL) else ifneq (,$(filter at86rf212b,$(USEMODULE))) # radio is IEEE 802.15.4 sub-GHz DEFAULT_CHANNEL ?= 5 CFLAGS += -DIEEE802154_DEFAULT_SUBGHZ_CHANNEL=$(DEFAULT_CHANNEL) else # radio is IEEE 802.15.4 2.4 GHz DEFAULT_CHANNEL ?= 26 CFLAGS += -DIEEE802154_DEFAULT_CHANNEL=$(DEFAULT_CHANNEL) endif endif