-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware: app: tasks: Adding the creation of the position determinati…
…on task to the boot sequence #336
- Loading branch information
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* | ||
* \author Gabriel Mariano Marcelino <[email protected]> | ||
* | ||
* \version 0.9.18 | ||
* \version 0.10.7 | ||
* | ||
* \date 2019/11/02 | ||
* | ||
|
@@ -52,6 +52,7 @@ | |
#include "read_antenna.h" | ||
#include "data_log.h" | ||
#include "process_tc.h" | ||
#include "pos_det.h" | ||
|
||
void create_tasks(void) | ||
{ | ||
|
@@ -184,6 +185,15 @@ void create_tasks(void) | |
} | ||
#endif /* CONFIG_TASK_ANTENNA_DEPLOYMENT_ENABLED */ | ||
|
||
#if defined(CONFIG_TASK_POSITION_DETERMINATION_ENABLED) && (CONFIG_TASK_POSITION_DETERMINATION_ENABLED == 1) | ||
xTaskCreate(vTaskPosDet, TASK_POS_DET_NAME, TASK_POS_DET_STACK_SIZE, NULL, TASK_POS_DET_PRIORITY, &xTaskPosDetHandle); | ||
|
||
if (xTaskPosDetHandle == NULL) | ||
{ | ||
/* Error creating the position determination task */ | ||
} | ||
#endif /* CONFIG_TASK_POSITION_DETERMINATION_ENABLED */ | ||
|
||
create_event_groups(); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* | ||
* \author Gabriel Mariano Marcelino <[email protected]> | ||
* | ||
* \version 0.10.1 | ||
* \version 0.10.7 | ||
* | ||
* \date 2019/10/26 | ||
* | ||
|
@@ -51,6 +51,7 @@ | |
#define CONFIG_TASK_DATA_LOG_ENABLED 1 | ||
#define CONFIG_TASK_PROCESS_TC_ENABLED 1 | ||
#define CONFIG_TASK_ANTENNA_DEPLOYMENT_ENABLED 0 | ||
#define CONFIG_TASK_POSITION_DETERMINATION_ENABLED 1 | ||
|
||
/* Devices */ | ||
#define CONFIG_DEV_MEDIA_INT_ENABLED 1 | ||
|