From 3a5fb46dc2f83d93399ed7b71057bf4659deb0dc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 14 Jan 2014 21:27:39 +1100 Subject: [PATCH] Plane: fixed integer size problem on APM2 --- ArduPlane/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/defines.h b/ArduPlane/defines.h index 3cdf63d37e..160bb63c87 100644 --- a/ArduPlane/defines.h +++ b/ArduPlane/defines.h @@ -162,7 +162,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 (1<<30) +#define MASK_LOG_WHEN_DISARMED (1UL<<30) // Waypoint Modes // ----------------