1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

LP-291 Added TaskInfo entry for UAVOMSPBridge task

This commit is contained in:
Vladimir Zidar 2016-04-19 23:23:06 +02:00
parent 6b5e43a57d
commit d8bdd8bfcf
2 changed files with 5 additions and 2 deletions

View File

@ -52,7 +52,7 @@
#include "homelocation.h"
#include "barosensor.h"
#include "stabilizationdesired.h"
#include "taskinfo.h"
//#include "pios_thread.h"
#include "pios_sensors.h"
@ -717,7 +717,7 @@ static int32_t uavoMSPBridgeStart(void)
xTaskHandle taskHandle;
xTaskCreate(uavoMSPBridgeTask, "uavoMSPBridge", STACK_SIZE_BYTES / 4, NULL, TASK_PRIORITY, &taskHandle);
// PIOS_TASK_MONITOR_RegisterTask(TASKINFO_RUNNING_UAVOMSPBRIDGE, taskHandle);
PIOS_TASK_MONITOR_RegisterTask(TASKINFO_RUNNING_UAVOMSPBRIDGE, taskHandle);
return 0;
}

View File

@ -31,6 +31,7 @@
<!-- optional -->
<elementname>GPS</elementname>
<elementname>OSDGen</elementname>
<elementname>UAVOMSPBridge</elementname>
</elementnames>
</field>
<field name="Running" units="bool" type="enum">
@ -63,6 +64,7 @@
<!-- optional -->
<elementname>GPS</elementname>
<elementname>OSDGen</elementname>
<elementname>UAVOMSPBridge</elementname>
</elementnames>
<options>
<option>False</option>
@ -99,6 +101,7 @@
<!-- optional -->
<elementname>GPS</elementname>
<elementname>OSDGen</elementname>
<elementname>UAVOMSPBridge</elementname>
</elementnames>
</field>
<access gcs="readonly" flight="readwrite"/>