mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-14 16:24:18 +03:00
13 lines
222 B
C
13 lines
222 B
C
|
#pragma once
|
||
|
#include "main.h"
|
||
|
#include <cmsis_os2.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
// Task stack size in bytes
|
||
|
#define DEFAULT_STACK_SIZE 4096
|
||
|
|
||
|
// Max system tasks count
|
||
|
#define MAX_TASK_COUNT 14
|
||
|
|
||
|
bool task_is_isr_context(void);
|