diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-10-06 01:13:11 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-10-06 01:13:11 +1000 |
commit | 470868f51a9a937f0a045ca2081e4183bc76ec0c (patch) | |
tree | 900f3e79a330fb722793b508edfbbccf7733a726 /src | |
parent | d4ef20f47ece19d3a6072d708b9ce316497e00e0 (diff) | |
download | uGFX-470868f51a9a937f0a045ca2081e4183bc76ec0c.tar.gz uGFX-470868f51a9a937f0a045ca2081e4183bc76ec0c.tar.bz2 uGFX-470868f51a9a937f0a045ca2081e4183bc76ec0c.zip |
More STM32F746-Discovery changes.
Diffstat (limited to 'src')
-rw-r--r-- | src/gos/gos_chibios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gos/gos_chibios.c b/src/gos/gos_chibios.c index eb839dc6..d650caa0 100644 --- a/src/gos/gos_chibios.c +++ b/src/gos/gos_chibios.c @@ -158,13 +158,13 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_ { if (!stackarea) { if (!stacksz) stacksz = 256; - return chThdCreateFromHeap(0, stacksz, prio, fn, param); + return chThdCreateFromHeap(0, stacksz, prio, (tfunc_t)fn, param); } if (!stacksz) return 0; - return chThdCreateStatic(stackarea, stacksz, prio, fn, param); + return chThdCreateStatic(stackarea, stacksz, prio, (tfunc_t)fn, param); } #endif /* GFX_USE_OS_CHIBIOS */ |