mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Replay: fixed writing of CHEK messages
This commit is contained in:
parent
5f0302ed9f
commit
d07b93e661
@ -55,7 +55,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h> // for optind only
|
|
||||||
#include <utility/getopt_cpp.h>
|
#include <utility/getopt_cpp.h>
|
||||||
#include "Parameters.h"
|
#include "Parameters.h"
|
||||||
#include "VehicleType.h"
|
#include "VehicleType.h"
|
||||||
@ -164,7 +163,7 @@ struct PACKED log_Chek {
|
|||||||
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
LOG_CHEK_MSG=1
|
LOG_CHEK_MSG=100
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct LogStructure log_structure[] PROGMEM = {
|
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);
|
GetOptLong gopt(argc, argv, "r:p:ha:g:A:", options);
|
||||||
gopt.optind = optind;
|
|
||||||
|
|
||||||
int opt;
|
int opt;
|
||||||
while ((opt = gopt.getoption()) != -1) {
|
while ((opt = gopt.getoption()) != -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user