What is best way to define own chDbgCheck macro ?
In chdebug.h there is #if !defined(chDbgCheck), but this file doesn't include other files to overide it.
It could be a good idea to include global user.h if exists to override macros like this ?
own chDbgCheck Topic is solved
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: own chDbgCheck
Hi,
Adding it to chconf.h should work, you can also include another file from chconf.h.
Giovanni
Adding it to chconf.h should work, you can also include another file from chconf.h.
Giovanni