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

tests/unittests/mac : Added check for macro if set via Kconfig

This commit is contained in:
Akshai M 2020-05-24 18:21:13 +05:30
parent 25f778b552
commit 414a0b0fa5

View File

@ -1,3 +1,5 @@
USEMODULE += gnrc_priority_pktqueue
USEMODULE += gnrc_mac
CFLAGS += -DGNRC_MAC_TX_QUEUE_SIZE=4 -DGNRC_MAC_NEIGHBOR_COUNT=4
# Set CFLAGS if not being set via Kconfig
CFLAGS += $(if $(CONFIG_KCONFIG_MODULE_GNRC_MAC),,-DGNRC_MAC_TX_QUEUE_SIZE=4 -DCONFIG_GNRC_MAC_NEIGHBOR_COUNT=4)