From 02ed37e7507fde430abd084c6998b33a3e5f71e1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 20 Apr 2013 18:21:10 +1000 Subject: [PATCH] Plane: fixed APM1-1280 build --- ArduPlane/GCS_Mavlink.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduPlane/GCS_Mavlink.pde b/ArduPlane/GCS_Mavlink.pde index 025349c78f..b7bc3b4a03 100644 --- a/ArduPlane/GCS_Mavlink.pde +++ b/ArduPlane/GCS_Mavlink.pde @@ -1825,7 +1825,9 @@ mission_failed: mav_var_type(var_type), _count_parameters(), -1); // XXX we don't actually know what its index is... +#if LOGGING_ENABLED == ENABLED DataFlash.Log_Write_Parameter(key, vp->cast_to_float(var_type)); +#endif } break;