summaryrefslogtreecommitdiffstats
path: root/src/task.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-02-22 15:20:25 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-02-22 15:20:25 +0100
commit96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06 (patch)
tree8c32464bd3a2fc0f1178c2e357617a9c4e256114 /src/task.h
parent8255dd8965cde43311d6e89ca9e9644fe29d4bca (diff)
downloadfastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.tar
fastd-96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06.zip
types: replace static consts with defines
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;
}