mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 14:48:28 -04:00
AP_HAL: allow replay on ChibiOS
This commit is contained in:
parent
f4bf2ec3fe
commit
5e8380ff41
@ -36,13 +36,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#if HAL_OS_POSIX_IO
|
|
||||||
|
|
||||||
#include "getopt_cpp.h"
|
#include "getopt_cpp.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.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)
|
|||||||
return optopt;
|
return optopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HAL_OS_POSIX_IO
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user