From 119ac755117e43581136be13aa2e19db7f86eac2 Mon Sep 17 00:00:00 2001 From: "dhcorley@msn.com" Date: Sat, 4 Jun 2011 01:23:40 +0000 Subject: [PATCH] add mag 5883 support part 2 git-svn-id: https://arducopter.googlecode.com/svn/trunk@2474 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopterMega/config.h b/ArduCopterMega/config.h index 47bb28cf75..1491f48c58 100644 --- a/ArduCopterMega/config.h +++ b/ArduCopterMega/config.h @@ -189,6 +189,9 @@ #ifndef MAG_ORIENTATION # define MAG_ORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD #endif +#ifndef MAG_PROTOCOL +# define MAG_PROTOCOL MAG_PROTOCOL_5843 // Default Setting +#endif //////////////////////////////////////////////////////////////////////////////