|
@@ -233,12 +233,12 @@ void kill(const char*);
|
233
|
233
|
*/
|
234
|
234
|
enum DebugFlags {
|
235
|
235
|
DEBUG_NONE = 0,
|
236
|
|
- DEBUG_ECHO = _BV(0),
|
237
|
|
- DEBUG_INFO = _BV(1),
|
238
|
|
- DEBUG_ERRORS = _BV(2),
|
239
|
|
- DEBUG_DRYRUN = _BV(3),
|
240
|
|
- DEBUG_COMMUNICATION = _BV(4),
|
241
|
|
- DEBUG_LEVELING = _BV(5)
|
|
236
|
+ DEBUG_ECHO = _BV(0), ///< Echo commands in order as they are processed
|
|
237
|
+ DEBUG_INFO = _BV(1), ///< Print messages for code that has debug output
|
|
238
|
+ DEBUG_ERRORS = _BV(2), ///< Not implemented
|
|
239
|
+ DEBUG_DRYRUN = _BV(3), ///< Ignore temperature setting and E movement commands
|
|
240
|
+ DEBUG_COMMUNICATION = _BV(4), ///< Not implemented
|
|
241
|
+ DEBUG_LEVELING = _BV(5) ///< Print detailed output for homing and leveling
|
242
|
242
|
};
|
243
|
243
|
extern uint8_t marlin_debug_flags;
|
244
|
244
|
#define DEBUGGING(F) (marlin_debug_flags & (DEBUG_## F))
|