You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
457 B
23 lines
457 B
#include <AP_HAL.h> |
|
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX |
|
#include <stdio.h> |
|
#include <stdarg.h> |
|
#include <unistd.h> |
|
#include <stdlib.h> |
|
#include <errno.h> |
|
|
|
extern const AP_HAL::HAL& hal; |
|
|
|
#include "Util.h" |
|
using namespace Linux; |
|
|
|
/** |
|
return commandline arguments, if available |
|
*/ |
|
void LinuxUtil::commandline_arguments(uint8_t &argc, char * const *&argv) |
|
{ |
|
argc = saved_argc; |
|
argv = saved_argv; |
|
} |
|
|
|
#endif // CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
|
|