17 lines
374 B
C
17 lines
374 B
C
#ifndef SENSOR_TASK_H_
|
|
#define SENSOR_TASK_H_
|
|
|
|
#include "FreeRTOS.h"
|
|
#include "task.h"
|
|
#include "FreeRTOSConfig.h"
|
|
|
|
#define SENSOR_TASK_STACK_DEPTH configMINIMAL_STACK_SIZE
|
|
#define SENSOR_TASK_PRIORITY (configMAX_PRIORITIES - 1)
|
|
|
|
extern StackType_t _sensor_task_stack[SENSOR_TASK_STACK_DEPTH];
|
|
extern StaticTask_t _sensor_task;
|
|
|
|
void sensor_task_main(void *params);
|
|
|
|
#endif
|