Merge pull request #3278 from thinkyhead/rc_cleanup_m111_redo
Echo all debug levels in M111, default to DEBUG_NONE
This commit is contained in:
commit
5f32184254
4 changed files with 110 additions and 93 deletions
|
|
@ -229,6 +229,7 @@ void Stop();
|
|||
* Debug flags - not yet widely applied
|
||||
*/
|
||||
enum DebugFlags {
|
||||
DEBUG_NONE = 0,
|
||||
DEBUG_ECHO = _BV(0),
|
||||
DEBUG_INFO = _BV(1),
|
||||
DEBUG_ERRORS = _BV(2),
|
||||
|
|
@ -237,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