mk: always define MAVLINK_PROTOCOL_VERSION

for -Wundef
This commit is contained in:
Andrew Tridgell 2016-02-24 16:56:33 +11:00
parent a05679fb3b
commit 4571b5e3ad

View File

@ -125,6 +125,7 @@ EXTRAFLAGS += -DMAVLINK_PROTOCOL_VERSION=2
MAVLINK_SUBDIR=v2.0
MAVLINK_WIRE_PROTOCOL=2.0
else
EXTRAFLAGS += -DMAVLINK_PROTOCOL_VERSION=1
MAVLINK_SUBDIR=v1.0
MAVLINK_WIRE_PROTOCOL=1.0
endif