mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-05 21:52:10 +01:00
OP-1274 fixes for RevoProto
This commit is contained in:
parent
99540d5db5
commit
3ec8c18fad
@ -231,7 +231,7 @@ int32_t AttitudeStart(void)
|
|||||||
gpsVelQueue = xQueueCreate(1, sizeof(UAVObjEvent));
|
gpsVelQueue = xQueueCreate(1, sizeof(UAVObjEvent));
|
||||||
|
|
||||||
// Start main task
|
// Start main task
|
||||||
xTaskCreate(AttitudeTask, (signed char *)"Attitude", STACK_SIZE_BYTES / 4, NULL, TASK_PRIORITY, &attitudeTaskHandle);
|
xTaskCreate(AttitudeTask, (const char *)"Attitude", STACK_SIZE_BYTES / 4, NULL, TASK_PRIORITY, &attitudeTaskHandle);
|
||||||
PIOS_TASK_MONITOR_RegisterTask(TASKINFO_RUNNING_ATTITUDE, attitudeTaskHandle);
|
PIOS_TASK_MONITOR_RegisterTask(TASKINFO_RUNNING_ATTITUDE, attitudeTaskHandle);
|
||||||
#ifdef PIOS_INCLUDE_WDG
|
#ifdef PIOS_INCLUDE_WDG
|
||||||
PIOS_WDG_RegisterFlag(PIOS_WDG_ATTITUDE);
|
PIOS_WDG_RegisterFlag(PIOS_WDG_ATTITUDE);
|
||||||
|
@ -96,7 +96,7 @@ int main()
|
|||||||
|
|
||||||
/* For Revolution we use a FreeRTOS task to bring up the system so we can */
|
/* For Revolution we use a FreeRTOS task to bring up the system so we can */
|
||||||
/* always rely on FreeRTOS primitive */
|
/* always rely on FreeRTOS primitive */
|
||||||
result = xTaskCreate(initTask, (const signed char *)"init",
|
result = xTaskCreate(initTask, (const char *)"init",
|
||||||
INIT_TASK_STACK, NULL, INIT_TASK_PRIORITY,
|
INIT_TASK_STACK, NULL, INIT_TASK_PRIORITY,
|
||||||
&initTaskHandle);
|
&initTaskHandle);
|
||||||
PIOS_Assert(result == pdPASS);
|
PIOS_Assert(result == pdPASS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user