From a9c48955149c1c69bb8fa93979a70aecfa9913f6 Mon Sep 17 00:00:00 2001 From: Charlie-Burge Date: Thu, 25 Nov 2021 19:16:29 +0000 Subject: [PATCH] SITL: reduce SLV2 logger message size --- libraries/SITL/SIM_JSON_Master.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libraries/SITL/SIM_JSON_Master.cpp b/libraries/SITL/SIM_JSON_Master.cpp index 01f40fe468..e96ce1a1bc 100644 --- a/libraries/SITL/SIM_JSON_Master.cpp +++ b/libraries/SITL/SIM_JSON_Master.cpp @@ -136,8 +136,7 @@ void JSON_Master::receive(struct sitl_input &input) // @Field: C12: channel 12 output // @Field: C13: channel 13 output // @Field: C14: channel 14 output -// @Field: C15: channel 15 output - AP::logger().WriteStreaming("SLV2", "TimeUS,Instance,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14,C15", + AP::logger().WriteStreaming("SLV2", "TimeUS,Instance,C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11,C12,C13,C14", "s#YYYYYYYYYYYYYY", "F?--------------", "QBHHHHHHHHHHHHHH", @@ -156,8 +155,7 @@ void JSON_Master::receive(struct sitl_input &input) buffer.pwm[10], buffer.pwm[11], buffer.pwm[12], - buffer.pwm[13], - buffer.pwm[14]); + buffer.pwm[13]); if (list->instance == master_instance) { // Use the servo outs from this instance