1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-21 11: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 "homelocation.h"
#include "barosensor.h" #include "barosensor.h"
#include "stabilizationdesired.h" #include "stabilizationdesired.h"
#include "taskinfo.h"
//#include "pios_thread.h" //#include "pios_thread.h"
#include "pios_sensors.h" #include "pios_sensors.h"
@ -717,7 +717,7 @@ static int32_t uavoMSPBridgeStart(void)
xTaskHandle taskHandle; xTaskHandle taskHandle;
xTaskCreate(uavoMSPBridgeTask, "uavoMSPBridge", STACK_SIZE_BYTES / 4, NULL, TASK_PRIORITY, &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; return 0;
} }

View File

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