posix main: avoid declaring px4_main_t, include the correct header instead

This commit is contained in:
Beat Küng 2018-05-07 13:12:16 +02:00
parent 2c56ceec93
commit 9772380779
1 changed files with 1 additions and 2 deletions

View File

@ -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