diff --git a/tests/driver_xbee/Makefile b/tests/driver_xbee/Makefile
index 73afde3c69944668a95c8a8fdd2999465e259630..cae72d5aaf289d8c486a9e6fff26356c811649cd 100644
--- a/tests/driver_xbee/Makefile
+++ b/tests/driver_xbee/Makefile
@@ -19,7 +19,7 @@ USEMODULE += shell_commands
 XBEE_UART ?= "1"
 
 # export UART to params file
-CFLAGS += -DXBEE_UART=$(XBEE_UART)
+CFLAGS += -DXBEE_PARAM_UART=$(XBEE_UART)
 
 # No need of big buffer for this test
 CFLAGS += -DGNRC_PKTBUF_SIZE=512