gfxHalt doesn't always work under ChibiOS. This has now been fixed.

ugfx_release_2.6
inmarket 2013-11-16 22:49:36 +10:00
parent 1ae42d93c1
commit 915c368505
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ typedef Thread * gfxThreadHandle;
extern "C" {
#endif
#define gfxHalt(msg) chDbgPanic(msg)
#define gfxHalt(msg) { chDbgPanic(msg); chSysHalt(); }
#define gfxExit() chSysHalt()
#define gfxAlloc(sz) chHeapAlloc(NULL, sz)
#define gfxFree(ptr) chHeapFree(ptr)