From dfa95b346428cd6d3e6315edb272b87ffc39c852 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 14 Feb 2014 13:14:45 +1100 Subject: [PATCH] Plane: moved the always log flag to 1<<16 this prevent problems with transferring the bitmask as a float --- ArduPlane/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/defines.h b/ArduPlane/defines.h index 0bf6c199fd..55b493048b 100644 --- a/ArduPlane/defines.h +++ b/ArduPlane/defines.h @@ -163,7 +163,7 @@ enum log_messages { #define MASK_LOG_RC (1<<13) #define MASK_LOG_SONAR (1<<14) #define MASK_LOG_ARM_DISARM (1<<15) -#define MASK_LOG_WHEN_DISARMED (1UL<<30) +#define MASK_LOG_WHEN_DISARMED (1UL<<16) // Waypoint Modes // ----------------