Browse Source

AP_HAL: allow replay on ChibiOS

c415-sdk
Andrew Tridgell 4 years ago
parent
commit
5e8380ff41
  1. 5
      libraries/AP_HAL/utility/getopt_cpp.cpp

5
libraries/AP_HAL/utility/getopt_cpp.cpp

@ -36,13 +36,12 @@ @@ -36,13 +36,12 @@
*/
#include <AP_HAL/AP_HAL.h>
#if HAL_OS_POSIX_IO
#include "getopt_cpp.h"
#include <stdio.h>
#include <string.h>
#define GETOPT_ERROR(...) fprintf(stderr, __VA_ARGS__)
#define GETOPT_ERROR(...) ::printf(__VA_ARGS__)
/*
@ -207,5 +206,3 @@ int GetOptLong::getoption(void) @@ -207,5 +206,3 @@ int GetOptLong::getoption(void)
return optopt;
}
#endif // HAL_OS_POSIX_IO

Loading…
Cancel
Save