aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_ecos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_ecos.c')
-rw-r--r--src/gos/gos_ecos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gos/gos_ecos.c b/src/gos/gos_ecos.c
index 92ba6526..f458d383 100644
--- a/src/gos/gos_ecos.c
+++ b/src/gos/gos_ecos.c
@@ -96,9 +96,9 @@ void gfxSemSignalI(gfxSem *psem)
cyg_semaphore_post(&psem->sem);
}
-gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param)
+gThread gfxThreadCreate(void *stackarea, size_t stacksz, gThreadpriority prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param)
{
- gfxThreadHandle th;
+ gThread th;
if (!stackarea) {
if (!stacksz) stacksz = CYGNUM_HAL_STACK_SIZE_TYPICAL;