summaryrefslogtreecommitdiffstats
path: root/src/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task.h b/src/task.h
index 667386a..21b15fe 100644
--- a/src/task.h
+++ b/src/task.h
@@ -55,7 +55,7 @@ static inline bool fastd_task_scheduled(fastd_task_t *task) {
/** Gets the timeout of a task */
static inline fastd_timeout_t fastd_task_timeout(fastd_task_t *task) {
if (!fastd_task_scheduled(task))
- return fastd_timeout_inv;
+ return FASTD_TIMEOUT_INV;
return task->entry.value;
}