eCos: fixing gfxFree() routine

This commit is contained in:
Joel Bodenmann 2014-07-11 19:07:47 +02:00
parent 326e246b77
commit c8342a0d25

View File

@ -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()