flipperzero-firmware/firmware/targets/f3/api-hal/api-hal-task.h
2020-12-10 17:58:33 +03:00

14 lines
270 B
C

#pragma once
#include "main.h"
#include <cmsis_os.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_equal(TaskHandle_t a, TaskHandle_t b);
bool task_is_isr_context(void);