summaryrefslogtreecommitdiff
path: root/include/m_thread.h
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-08-28 09:59:31 -0700
committerGitHub <noreply@github.com>2023-08-28 09:59:31 -0700
commit1e3511efea9cf4379a04fca77f6a00cb170da28c (patch)
tree7650c04105d35d867939d19e3421102ae511102f /include/m_thread.h
parentfcfbb6c52feec4a01b46f0c2bcc037af373d4fe9 (diff)
Fault + Fault_drawer (#77)
* Fault OK * fault_drawer OK * Cleanup * Cleanup pt 2 * Forgot to save * PR
Diffstat (limited to 'include/m_thread.h')
-rw-r--r--include/m_thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_thread.h b/include/m_thread.h
index 45cb851..19f6e1f 100644
--- a/include/m_thread.h
+++ b/include/m_thread.h
@@ -2,6 +2,7 @@
#define M_THREAD_H
#define M_THREAD_ID_IDLE 1
+#define M_THREAD_ID_FAULT 2
#define M_THREAD_ID_MAIN 3
#define M_THREAD_ID_DMAMGR 8
#define M_THREAD_ID_IRQMGR 9
@@ -10,6 +11,8 @@
#define M_PRIORITY_IDLE 12
#define M_PRIORITY_MAIN 12
#define M_PRIORITY_DMAMGR 17
+#define M_PRIORITY_FAULT_CLIENT (OS_PRIORITY_APPMAX - 1)
+#define M_PRIORITY_FAULT OS_PRIORITY_APPMAX
#endif