diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-01 13:03:40 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-01 13:03:40 -0500 |
commit | 51b884c44c858aa56aae6675a2c3a8b2d882768e (patch) | |
tree | af052ed484d44e6594b18f01a4edceabd99b852c /include/task.h | |
parent | 4614429f5751e14e37ceedb7130b7a829c89476a (diff) |
keypad support, making stuff good
Diffstat (limited to 'include/task.h')
-rw-r--r-- | include/task.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/task.h b/include/task.h index 1ef8639..6456bdc 100644 --- a/include/task.h +++ b/include/task.h @@ -28,6 +28,12 @@ void task_init(void (*init)(void)); */ void task_start(void (*task)(void), uint16_t stackSize); +/** + * Allows task switching to be disabled, for low-level actions. + * Multiple holds can be placed, and all must be removed to continue task + * switching. + * @param hold non-zero for hold, zero to remove hold + */ void task_hold(uint8_t hold); #endif // TASK_H_ |