From 781280b0016805f9fd98d29755baa8acebc19a0f Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Fri, 20 Apr 2012 09:54:50 +1000
Subject: [PATCH] sitl: allow sitl build with MAVLink 1.0

---
 ArduPlane/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ArduPlane/Makefile b/ArduPlane/Makefile
index 8efe6bba4..04b4166c3 100644
--- a/ArduPlane/Makefile
+++ b/ArduPlane/Makefile
@@ -30,6 +30,9 @@ mavlink10:
 sitl:
 	make -f ../libraries/Desktop/Makefile.desktop
 
+sitl-mavlink10:
+	make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DMAVLINK10"
+
 sitl-quaternion:
 	make -f ../libraries/Desktop/Makefile.desktop EXTRAFLAGS="-DQUATERNION_ENABLE=ENABLED"
 
-- 
GitLab