aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtimer
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-10-05 02:32:35 +0200
committerJoel Bodenmann <joel@unormal.org>2013-10-05 02:32:35 +0200
commit8b6e95de7326382f75e1d1ee1069d39f774d5299 (patch)
tree4749ca582b05104389709b756efbf1087d7665c6 /include/gtimer
parenta370394dbb0b5bf2ae1fbb2838b8b09956bfe38e (diff)
downloaduGFX-8b6e95de7326382f75e1d1ee1069d39f774d5299.tar.gz
uGFX-8b6e95de7326382f75e1d1ee1069d39f774d5299.tar.bz2
uGFX-8b6e95de7326382f75e1d1ee1069d39f774d5299.zip
added thread priorities to gfxconf.h
Diffstat (limited to 'include/gtimer')
-rw-r--r--include/gtimer/options.h73
1 files changed, 40 insertions, 33 deletions
diff --git a/include/gtimer/options.h b/include/gtimer/options.h
index 958f89e4..17358abe 100644
--- a/include/gtimer/options.h
+++ b/include/gtimer/options.h
@@ -4,36 +4,43 @@
*
* http://ugfx.org/license.html
*/
-
-/**
- * @file include/gtimer/options.h
- * @brief GTIMER sub-system options header file.
- *
- * @addtogroup GTIMER
- * @{
- */
-
-#ifndef _GTIMER_OPTIONS_H
-#define _GTIMER_OPTIONS_H
-
-/**
- * @name GTIMER Functionality to be included
- * @{
- */
-/**
- * @}
- *
- * @name GTIMER Optional Sizing Parameters
- * @{
- */
- /**
- * @brief Defines the size of the timer threads work area (stack+structures).
- * @details Defaults to 512 bytes
- */
- #ifndef GTIMER_THREAD_WORKAREA_SIZE
- #define GTIMER_THREAD_WORKAREA_SIZE 512
- #endif
-/** @} */
-
-#endif /* _GTIMER_OPTIONS_H */
-/** @} */
+
+/**
+ * @file include/gtimer/options.h
+ * @brief GTIMER sub-system options header file.
+ *
+ * @addtogroup GTIMER
+ * @{
+ */
+
+#ifndef _GTIMER_OPTIONS_H
+#define _GTIMER_OPTIONS_H
+
+/**
+ * @name GTIMER Functionality to be included
+ * @{
+ */
+/**
+ * @}
+ *
+ * @name GTIMER Optional Sizing Parameters
+ * @{
+ */
+ /**
+ * @brief Defines the GTIMER thread priority
+ * @details Defaults to HIGH_PRIORITY
+ */
+ #ifndef GTIMER_THREAD_PRIORITY
+ #define GTIMER_THREAD_PRIORITY HIGH_PRIORITY
+ #endif
+ /**
+ * @brief Defines the size of the timer threads work area (stack+structures).
+ * @details Defaults to 512 bytes
+ */
+ #ifndef GTIMER_THREAD_WORKAREA_SIZE
+ #define GTIMER_THREAD_WORKAREA_SIZE 512
+ #endif
+/** @} */
+
+#endif /* _GTIMER_OPTIONS_H */
+/** @} */