gfxHalt doesn't always work under ChibiOS. This has now been fixed.
This commit is contained in:
parent
1ae42d93c1
commit
915c368505
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ typedef Thread * gfxThreadHandle;
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define gfxHalt(msg) chDbgPanic(msg)
|
#define gfxHalt(msg) { chDbgPanic(msg); chSysHalt(); }
|
||||||
#define gfxExit() chSysHalt()
|
#define gfxExit() chSysHalt()
|
||||||
#define gfxAlloc(sz) chHeapAlloc(NULL, sz)
|
#define gfxAlloc(sz) chHeapAlloc(NULL, sz)
|
||||||
#define gfxFree(ptr) chHeapFree(ptr)
|
#define gfxFree(ptr) chHeapFree(ptr)
|
||||||
|
|
Loading…
Add table
Reference in a new issue