From 9976c747d7209b33e1a009f84539812366146cfb Mon Sep 17 00:00:00 2001 From: Roland Sahlsten Date: Mon, 24 Oct 2011 21:09:29 +0000 Subject: git-svn-id: https://svn.spreadspace.org/mur.sat@180 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/mpu/inc/Types.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'software/mpu/inc/Types.h') diff --git a/software/mpu/inc/Types.h b/software/mpu/inc/Types.h index 501d359..1ceeaad 100644 --- a/software/mpu/inc/Types.h +++ b/software/mpu/inc/Types.h @@ -2,6 +2,8 @@ #include "task.h" #include "queue.h" +#define MS(ms) portTICK_RATE_MS * (ms) + typedef enum { STATUS_OK = 0x0U, @@ -27,7 +29,13 @@ typedef struct typedef struct { - xTaskHandle *pxTask_Lightsens; - xQueueHandle *pxQueue; -}Task_Param_t; + xQueueHandle hxq_Kernel; + xQueueHandle hxq_Camera; + xQueueHandle hxq_LightSens; +}QH_t; +typedef struct +{ + xTaskHandle hxTask_Self; + QH_t QueueHandles; +}Task_Param_t; -- cgit v1.2.3