summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TMainTask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 62f3ef5..d90216c 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -11,7 +11,7 @@
TMainTask *child; \
u32 bit = 1; \
FOREACH_NODE_NODECL_MULTI_ITER(TMainTask, main_task.down, child, bit <<= 1) { \
- if (main_task_flags & bit) { \
+ if (flags & bit) { \
child->one_prefix##_##suffix(); \
} else { \
child->zero_prefix##_##suffix(); \