From 028922e53f2ba5aafac9bf2f668aa779e99dbf4f Mon Sep 17 00:00:00 2001 From: Executive Date: Tue, 11 Aug 2015 21:05:05 +0100 Subject: [PATCH] Corrected situation where the messages' field description with a newline caused the generation of corrupt headers. --- pymavlink/generator/mavgen_c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymavlink/generator/mavgen_c.py b/pymavlink/generator/mavgen_c.py index 56ea66c..a52cd39 100644 --- a/pymavlink/generator/mavgen_c.py +++ b/pymavlink/generator/mavgen_c.py @@ -152,7 +152,7 @@ def generate_message_h(directory, m): typedef struct __mavlink_${name_lower}_t { -${{ordered_fields: ${type} ${name}${array_suffix}; ///< ${description} +${{ordered_fields: ${type} ${name}${array_suffix}; /*< ${description}*/ }} } mavlink_${name_lower}_t;