forked from Archive/PX4-Autopilot
posix main: avoid declaring px4_main_t, include the correct header instead
This commit is contained in:
parent
2c56ceec93
commit
9772380779
|
@ -53,6 +53,7 @@
|
|||
#include "DriverFramework.hpp"
|
||||
#include <termios.h>
|
||||
#include <sys/stat.h>
|
||||
#include <px4_tasks.h>
|
||||
|
||||
namespace px4
|
||||
{
|
||||
|
@ -61,8 +62,6 @@ void init_once();
|
|||
|
||||
using namespace std;
|
||||
|
||||
typedef int (*px4_main_t)(int argc, char *argv[]);
|
||||
|
||||
#define CMD_BUFF_SIZE 100
|
||||
|
||||
#ifdef PATH_MAX
|
||||
|
|
Loading…
Reference in New Issue