2014-02-23 20:59:24 -04:00
|
|
|
#include <AP_HAL.h>
|
2014-07-06 23:03:26 -03:00
|
|
|
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
2014-02-23 20:59:24 -04:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2014-07-06 23:03:26 -03:00
|
|
|
#endif // CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|