diff options
Diffstat (limited to 'software/mpu/inc')
-rw-r--r-- | software/mpu/inc/Types.h | 14 |
1 files changed, 11 insertions, 3 deletions
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;
|