mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 03:03:10 +00: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);
|