From 330f891081dbd755063767a25f39c517fbe5c432 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 8 Jul 2018 15:40:27 +1000 Subject: Added type gThread to replace V2.x gfxThreadHandle --- src/gos/gos_ecos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gos/gos_ecos.c') 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; -- cgit v1.2.3