- if unsigned(t.itk_self[1]) > 0: ## task read port
- func(t, space, ctx, taskports_idx, 0, t.itk_self[1], 17)
- if unsigned(t.itk_self[2]) > 0: ## task inspect port
- func(t, space, ctx, taskports_idx, 0, t.itk_self[2], 17)
+ if unsigned(t.itk_task_ports[1]) > 0: ## task read port
+ func(t, space, ctx, taskports_idx, 0, t.itk_task_ports[1], 17)
+ if unsigned(t.itk_task_ports[2]) > 0: ## task inspect port
+ func(t, space, ctx, taskports_idx, 0, t.itk_task_ports[2], 17)