|
@@ -27,20 +27,20 @@
|
27
|
27
|
/**
|
28
|
28
|
* Define debug bit-masks
|
29
|
29
|
*/
|
30
|
|
-enum DebugFlags : unsigned char {
|
31
|
|
- DEBUG_NONE = 0,
|
32
|
|
- DEBUG_ECHO = _BV(0), ///< Echo commands in order as they are processed
|
33
|
|
- DEBUG_INFO = _BV(1), ///< Print messages for code that has debug output
|
34
|
|
- DEBUG_ERRORS = _BV(2), ///< Not implemented
|
35
|
|
- DEBUG_DRYRUN = _BV(3), ///< Ignore temperature setting and E movement commands
|
36
|
|
- DEBUG_COMMUNICATION = _BV(4), ///< Not implemented
|
37
|
|
- DEBUG_LEVELING = _BV(5), ///< Print detailed output for homing and leveling
|
38
|
|
- DEBUG_MESH_ADJUST = _BV(6), ///< UBL bed leveling
|
39
|
|
- DEBUG_ALL = 0xFF
|
|
30
|
+enum MarlinDebugFlags : uint8_t {
|
|
31
|
+ MARLIN_DEBUG_NONE = 0,
|
|
32
|
+ MARLIN_DEBUG_ECHO = _BV(0), ///< Echo commands in order as they are processed
|
|
33
|
+ MARLIN_DEBUG_INFO = _BV(1), ///< Print messages for code that has debug output
|
|
34
|
+ MARLIN_DEBUG_ERRORS = _BV(2), ///< Not implemented
|
|
35
|
+ MARLIN_DEBUG_DRYRUN = _BV(3), ///< Ignore temperature setting and E movement commands
|
|
36
|
+ MARLIN_DEBUG_COMMUNICATION = _BV(4), ///< Not implemented
|
|
37
|
+ MARLIN_DEBUG_LEVELING = _BV(5), ///< Print detailed output for homing and leveling
|
|
38
|
+ MARLIN_DEBUG_MESH_ADJUST = _BV(6), ///< UBL bed leveling
|
|
39
|
+ MARLIN_DEBUG_ALL = 0xFF
|
40
|
40
|
};
|
41
|
41
|
|
42
|
42
|
extern uint8_t marlin_debug_flags;
|
43
|
|
-#define DEBUGGING(F) (marlin_debug_flags & (DEBUG_## F))
|
|
43
|
+#define DEBUGGING(F) (marlin_debug_flags & (MARLIN_DEBUG_## F))
|
44
|
44
|
|
45
|
45
|
#if TX_BUFFER_SIZE < 1
|
46
|
46
|
#define SERIAL_FLUSHTX_P(p)
|