Add DEBUGGING macro

This commit is contained in:
Scott Lahteine
2016-03-29 19:50:01 -07:00
parent 4402760739
commit 05765fb570
3 changed files with 70 additions and 69 deletions

View File

@@ -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; }