Add DEBUGGING macro
This commit is contained in:
parent
4402760739
commit
05765fb570
3 changed files with 70 additions and 69 deletions
|
|
@ -238,6 +238,7 @@ enum DebugFlags {
|
|||
DEBUG_LEVELING = _BV(5)
|
||||
};
|
||||
extern uint8_t marlin_debug_flags;
|
||||
#define DEBUGGING(F) (marlin_debug_flags & (DEBUG_## F))
|
||||
|
||||
extern bool Running;
|
||||
inline bool IsRunning() { return Running; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue