mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
mk: always define MAVLINK_PROTOCOL_VERSION
for -Wundef
This commit is contained in:
parent
a05679fb3b
commit
4571b5e3ad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user