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:
parent
6b5e43a57d
commit
d8bdd8bfcf
@ -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;
|
||||
}
|
||||
|
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user