Skip to content
Snippets Groups Projects
Commit ee9bd66a authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Add comments to debug bit flags

parent 3db5a75f
Branches
No related tags found
No related merge requests found
...@@ -233,12 +233,12 @@ void kill(const char*); ...@@ -233,12 +233,12 @@ void kill(const char*);
*/ */
enum DebugFlags { enum DebugFlags {
DEBUG_NONE = 0, DEBUG_NONE = 0,
DEBUG_ECHO = _BV(0), DEBUG_ECHO = _BV(0), ///< Echo commands in order as they are processed
DEBUG_INFO = _BV(1), DEBUG_INFO = _BV(1), ///< Print messages for code that has debug output
DEBUG_ERRORS = _BV(2), DEBUG_ERRORS = _BV(2), ///< Not implemented
DEBUG_DRYRUN = _BV(3), DEBUG_DRYRUN = _BV(3), ///< Ignore temperature setting and E movement commands
DEBUG_COMMUNICATION = _BV(4), DEBUG_COMMUNICATION = _BV(4), ///< Not implemented
DEBUG_LEVELING = _BV(5) DEBUG_LEVELING = _BV(5) ///< Print detailed output for homing and leveling
}; };
extern uint8_t marlin_debug_flags; extern uint8_t marlin_debug_flags;
#define DEBUGGING(F) (marlin_debug_flags & (DEBUG_## F)) #define DEBUGGING(F) (marlin_debug_flags & (DEBUG_## F))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment