1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-176 FreeRTOS task priorities a bit more sensible

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2357 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
peabody124 2011-01-09 20:49:33 +00:00 committed by peabody124
parent 85b7619617
commit 24c4e92b12
6 changed files with 6 additions and 6 deletions

View File

@ -55,7 +55,7 @@
// Private constants
#define STACK_SIZE configMINIMAL_STACK_SIZE-128
#define TASK_PRIORITY (tskIDLE_PRIORITY+1)
#define TASK_PRIORITY (tskIDLE_PRIORITY+4)
// Private types

View File

@ -41,7 +41,7 @@
// Private constants
#define STACK_SIZE_BYTES 500
#define TASK_PRIORITY (tskIDLE_PRIORITY+3)
#define TASK_PRIORITY (tskIDLE_PRIORITY+1)
//#define UPDATE_PERIOD 100
#define UPDATE_PERIOD 25

View File

@ -55,7 +55,7 @@
//
#define DEBUG_PORT PIOS_COM_TELEM_RF
#define STACK_SIZE 1024
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3)
#define TASK_PRIORITY (tskIDLE_PRIORITY + 1)
#define SAMPLE_PERIOD_MS 500
#define POWER_SENSOR_VERSION 1

View File

@ -53,7 +53,7 @@ static void setHomeLocation(GPSPositionData * gpsData);
// Private constants
// Unfortunately need a good size stack for the WMM calculation
#define STACK_SIZE_BYTES 1024
#define TASK_PRIORITY (tskIDLE_PRIORITY + 3)
#define TASK_PRIORITY (tskIDLE_PRIORITY + 1)
// Private types

View File

@ -58,7 +58,7 @@
// Private constants
#define STACK_SIZE_BYTES 824
#define TASK_PRIORITY (tskIDLE_PRIORITY+1)
#define TASK_PRIORITY (tskIDLE_PRIORITY+2)
// Private types
// Private variables

View File

@ -53,7 +53,7 @@
// must be updated if the FreeRTOS or compiler
// optimisation options are changed.
#define STACK_SIZE_BYTES 924
#define TASK_PRIORITY (tskIDLE_PRIORITY+3)
#define TASK_PRIORITY (tskIDLE_PRIORITY+2)
#define HEAP_LIMIT_WARNING 4000
#define HEAP_LIMIT_CRITICAL 1000