Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/targets/f6/furi_hal/furi_hal_task.h')
-rw-r--r--firmware/targets/f6/furi_hal/furi_hal_task.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/targets/f6/furi_hal/furi_hal_task.h b/firmware/targets/f6/furi_hal/furi_hal_task.h
new file mode 100644
index 00000000..8b157233
--- /dev/null
+++ b/firmware/targets/f6/furi_hal/furi_hal_task.h
@@ -0,0 +1,12 @@
+#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);