diff options
| author | inmarket <inmarket@ugfx.org> | 2017-03-04 17:35:17 +1000 |
|---|---|---|
| committer | inmarket <inmarket@ugfx.org> | 2017-03-04 17:35:39 +1000 |
| commit | 7826664969f077342e098a1679faadf2b0b590d5 (patch) | |
| tree | 8f7f7c307ebd228b9ee057e01d1c2dd932686a3e /src | |
| parent | 3a0e49dabcbb9d138d81720cf7a315636a8ab2cb (diff) | |
| download | uGFX-7826664969f077342e098a1679faadf2b0b590d5.tar.gz uGFX-7826664969f077342e098a1679faadf2b0b590d5.tar.bz2 uGFX-7826664969f077342e098a1679faadf2b0b590d5.zip | |
Make the uGFXMain() prototype always available
Diffstat (limited to 'src')
| -rw-r--r-- | src/gfx.c | 3 | ||||
| -rw-r--r-- | src/gos/gos_freertos.c | 2 |
2 files changed, 0 insertions, 5 deletions
@@ -78,9 +78,6 @@ extern void _gosDeinit(void); extern void _gtransInit(void); extern void _gtransDeinit(void); #endif -#if GFX_OS_CALL_UGFXMAIN - extern void uGFXMain(void); -#endif void gfxInit(void) { diff --git a/src/gos/gos_freertos.c b/src/gos/gos_freertos.c index 93696581..414b0bab 100644 --- a/src/gos/gos_freertos.c +++ b/src/gos/gos_freertos.c @@ -38,8 +38,6 @@ void _gosInit(void) } #if !GFX_OS_NO_INIT && GFX_OS_CALL_UGFXMAIN - extern void uGFXMain(void); - static DECLARE_THREAD_FUNCTION(startUGFX_FreeRTOS, p) { (void) p; uGFXMain(); |
