reenable task flag

This commit is contained in:
Thomas Gubler
2014-11-26 11:55:41 +01:00
parent e7c1e5b1ff
commit 0474908e1c
5 changed files with 17 additions and 7 deletions
+5 -1
View File
@@ -32,7 +32,11 @@ using namespace px4;
/**
* This tutorial demonstrates simple sending of messages over the PX4 middleware system.
*/
// __EXPORT bool task_should_exit;
namespace px4
{
bool task_should_exit = false;
}
PX4_MAIN_FUNCTION(publisher)
{
+4 -2
View File
@@ -36,8 +36,10 @@ void rc_channels_callback(const PX4_TOPIC_T(rc_channels) *msg)
{
PX4_INFO("I heard: [%lu]", msg->timestamp_last_valid);
}
// __EXPORT bool task_should_exit;
namespace px4
{
bool task_should_exit = false;
}
PX4_MAIN_FUNCTION(subscriber)
{