Skip to content

Commit 77b5098

Browse files
committed
[DeviceDriver] Add more exported symbols for completion.
1 parent 7e981e3 commit 77b5098

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/drivers/src/completion.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ void rt_completion_init(struct rt_completion *completion)
3939
rt_list_init(&completion->suspended_list);
4040
rt_hw_interrupt_enable(level);
4141
}
42+
RTM_EXPORT(rt_completion_init);
4243

4344
rt_err_t rt_completion_wait(struct rt_completion *completion,
4445
rt_int32_t timeout)
@@ -105,6 +106,7 @@ rt_err_t rt_completion_wait(struct rt_completion *completion,
105106

106107
return result;
107108
}
109+
RTM_EXPORT(rt_completion_wait);
108110

109111
void rt_completion_done(struct rt_completion *completion)
110112
{
@@ -139,3 +141,5 @@ void rt_completion_done(struct rt_completion *completion)
139141
rt_hw_interrupt_enable(level);
140142
}
141143
}
144+
RTM_EXPORT(rt_completion_done);
145+

0 commit comments

Comments
 (0)