aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos
diff options
context:
space:
mode:
authorPaul Shamray <pashamray@gmail.com>2014-07-12 11:02:11 +0300
committerPaul Shamray <pashamray@gmail.com>2014-07-12 11:02:11 +0300
commitcae7b197b38ec33b92bab5554ce2156867ae45d5 (patch)
treee9afc57d4daded1f2572ef154e400fc2e44c7db5 /src/gos
parentb46e58ba6ccd80130b05dc662739cde55a8275f8 (diff)
parenta26cf85256eacf740a7fad15f91d0b2186238d1b (diff)
downloaduGFX-cae7b197b38ec33b92bab5554ce2156867ae45d5.tar.gz
uGFX-cae7b197b38ec33b92bab5554ce2156867ae45d5.tar.bz2
uGFX-cae7b197b38ec33b92bab5554ce2156867ae45d5.zip
Merged Tectu/ugfx into master
Diffstat (limited to 'src/gos')
-rw-r--r--src/gos/ecos.h2
-rw-r--r--src/gos/sys_make.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gos/ecos.h b/src/gos/ecos.h
index c24f3824..be9037b6 100644
--- a/src/gos/ecos.h
+++ b/src/gos/ecos.h
@@ -73,7 +73,7 @@ void gfxSleepMilliseconds(delaytime_t ms);
void gfxSleepMicroseconds(delaytime_t ms);
#define gfxAlloc(sz) malloc(sz)
-#define gfxFree(ptr) free(sz)
+#define gfxFree(ptr) free(ptr)
#define gfxRealloc(ptr, oldsz, newsz) realloc(ptr, newsz)
#define gfxSystemLock() cyg_scheduler_lock()
diff --git a/src/gos/sys_make.mk b/src/gos/sys_make.mk
index 8ef22121..9e24f875 100644
--- a/src/gos/sys_make.mk
+++ b/src/gos/sys_make.mk
@@ -4,4 +4,5 @@ GFXSRC += $(GFXLIB)/src/gos/chibios.c \
$(GFXLIB)/src/gos/linux.c \
$(GFXLIB)/src/gos/osx.c \
$(GFXLIB)/src/gos/raw32.c \
+ $(GFXLIB)/src/gos/ecos.c