tests/driver_pir: set default GPIO
This commit is contained in:
parent
6262c4427e
commit
9e15a34a81
@ -16,6 +16,9 @@ USEMODULE += vtimer
|
||||
|
||||
ifneq (,$(PIR_GPIO))
|
||||
CFLAGS += -DPIR_GPIO=$(PIR_GPIO)
|
||||
else
|
||||
# set random default
|
||||
CFLAGS += -DPIR_GPIO=GPIO_0
|
||||
endif
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user