From d07b93e6617a45a1dd82ce1555041fe100513aab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 1 Jul 2015 20:40:46 +1000 Subject: [PATCH] Replay: fixed writing of CHEK messages --- Tools/Replay/Replay.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Tools/Replay/Replay.cpp b/Tools/Replay/Replay.cpp index 28afe7b6cf..3fc62035eb 100644 --- a/Tools/Replay/Replay.cpp +++ b/Tools/Replay/Replay.cpp @@ -55,7 +55,6 @@ #include #include #include -#include // for optind only #include #include "Parameters.h" #include "VehicleType.h" @@ -164,7 +163,7 @@ struct PACKED log_Chek { enum { - LOG_CHEK_MSG=1 + LOG_CHEK_MSG=100 }; static const struct LogStructure log_structure[] PROGMEM = { @@ -316,7 +315,6 @@ void Replay::_parse_command_line(uint8_t argc, char * const argv[]) }; GetOptLong gopt(argc, argv, "r:p:ha:g:A:", options); - gopt.optind = optind; int opt; while ((opt = gopt.getoption()) != -1) {