Move instance to new task context

This commit is contained in:
Lorenz Meier
2014-02-02 01:32:13 +01:00
parent 63b18399c2
commit c73fbca0eb
2 changed files with 18 additions and 21 deletions
+3 -3
View File
@@ -143,7 +143,7 @@ public:
/**
* Constructor
*/
Mavlink(const char *port, unsigned baud_rate);
Mavlink();
/**
* Destructor, also kills the mavlinks task.
@@ -155,7 +155,7 @@ public:
*
* @return OK on success.
*/
static int start(Mavlink* mavlink);
static int start();
/**
* Display the mavlink status.
@@ -164,7 +164,7 @@ public:
static int instance_count();
static Mavlink* new_instance(const char *port, unsigned baud_rate);
static Mavlink* new_instance();
static Mavlink* get_instance(unsigned instance);