From 30c76664ce1e61c7e6b15fc4cc4478afe619cff0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 11 Feb 2012 23:00:08 +1100 Subject: [PATCH] added size of Vector6f --- libraries/AP_Common/AP_Param.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Common/AP_Param.cpp b/libraries/AP_Common/AP_Param.cpp index 242be99f1b..005d439fc9 100644 --- a/libraries/AP_Common/AP_Param.cpp +++ b/libraries/AP_Common/AP_Param.cpp @@ -178,6 +178,8 @@ const uint8_t AP_Param::type_size(enum ap_var_type type) return 4; case AP_PARAM_VECTOR3F: return 3*4; + case AP_PARAM_VECTOR6F: + return 6*4; case AP_PARAM_MATRIX3F: return 3*3*4; }