chore: First tests
This commit is contained in:
16
app/src/tasks/sensor_task.h
Normal file
16
app/src/tasks/sensor_task.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user